mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-23 18:50:13 +01:00
Added the check to mzoneecho
This commit is contained in:
parent
06d37db7ff
commit
d76c180b7e
2 changed files with 7 additions and 1 deletions
|
|
@ -35,6 +35,8 @@ export (QQ's a zone into a tarball)t
|
||||||
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
||||||
(lots of major bugfixes too)
|
(lots of major bugfixes too)
|
||||||
@
|
@
|
||||||
|
[Sep 01 2008] - Fizban
|
||||||
|
Added a check to mzoneecho to stop mortals from using it.
|
||||||
[Aug 31 2008] - Fizban
|
[Aug 31 2008] - Fizban
|
||||||
Removed various mid-function defines of variables.
|
Removed various mid-function defines of variables.
|
||||||
[Aug 27 2008] - Rumble
|
[Aug 27 2008] - Rumble
|
||||||
|
|
|
||||||
|
|
@ -285,7 +285,11 @@ ACMD(do_mzoneecho)
|
||||||
{
|
{
|
||||||
int zone;
|
int zone;
|
||||||
char room_number[MAX_INPUT_LENGTH], buf[MAX_INPUT_LENGTH], *msg;
|
char room_number[MAX_INPUT_LENGTH], buf[MAX_INPUT_LENGTH], *msg;
|
||||||
|
|
||||||
|
if (!MOB_OR_IMPL(ch)) {
|
||||||
|
send_to_char(ch, "Huh?!?\r\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
msg = any_one_arg(argument, room_number);
|
msg = any_one_arg(argument, room_number);
|
||||||
skip_spaces(&msg);
|
skip_spaces(&msg);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue