Bug fix: Page command was paging when the character was not found and sending a NOPERSON message when he was found.

This commit is contained in:
Rhade 2008-05-17 15:38:49 +00:00
parent 6817812208
commit 9fe2558b93
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,8 @@ help, find any bugs, or have ideas for improvement please stop by TBA at
telnet://tbamud.com:9091 or email rumble@tbamud.com --Rumble telnet://tbamud.com:9091 or email rumble@tbamud.com --Rumble
tbaMUD 3.56 tbaMUD 3.56
[May 17 2008]
Bug fix: Page command was paging when the character was not found and sending a NOPERSON message when he was found.
[May 15 2008] - Rumble [May 15 2008] - Rumble
Updated autorun to fix a random syslog numbering bug. (thanks Zizazat) Updated autorun to fix a random syslog numbering bug. (thanks Zizazat)
[May 10 2008] - Rumble [May 10 2008] - Rumble

View file

@ -358,7 +358,7 @@ ACMD(do_page)
send_to_char(ch, "You will never be godly enough to do that!\r\n"); send_to_char(ch, "You will never be godly enough to do that!\r\n");
return; return;
} }
if (!(vict = get_char_vis(ch, arg, NULL, FIND_CHAR_WORLD))) { if ((vict = get_char_vis(ch, arg, NULL, FIND_CHAR_WORLD))) {
act(buf, FALSE, ch, 0, vict, TO_VICT); act(buf, FALSE, ch, 0, vict, TO_VICT);
if (!IS_NPC(ch) && PRF_FLAGGED(ch, PRF_NOREPEAT)) if (!IS_NPC(ch) && PRF_FLAGGED(ch, PRF_NOREPEAT))
send_to_char(ch, "%s", CONFIG_OK); send_to_char(ch, "%s", CONFIG_OK);