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

@@ -358,7 +358,7 @@ ACMD(do_page)
send_to_char(ch, "You will never be godly enough to do that!\r\n");
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);
if (!IS_NPC(ch) && PRF_FLAGGED(ch, PRF_NOREPEAT))
send_to_char(ch, "%s", CONFIG_OK);