From: nveid Date: Thu, 5 Apr 2007 04:23:26 +0000 (+0000) Subject: Player aliases may now be supplied in @pemit/list X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=951d5d5f823d74398cb05df237bf77f1dc52d5ea;p=cobramush.git Player aliases may now be supplied in @pemit/list (cherry picked from commit 61becff3ed80191d53adfc29f1f6a28bf95f7575) --- diff --git a/game/txt/changes/0.73 b/game/txt/changes/0.73 index aaa28f7..1fc8e5a 100644 --- a/game/txt/changes/0.73 +++ b/game/txt/changes/0.73 @@ -171,4 +171,5 @@ CobraMUSH Version 0.73 * Improved messages for @link of exits [AEJ] * Fixed initialization of attribute flags [AEJ] * SQL support is now reported via @config compile. [RLB] + * Player aliases may now be supplied to @pemit/list. [RLB] diff --git a/src/speech.c b/src/speech.c index fac55a7..d36594a 100644 --- a/src/speech.c +++ b/src/speech.c @@ -440,7 +440,7 @@ do_pemit_list(dbref player, char *list, const char *message, int flags) l = trim_space_sep(list, ' '); while ((p = split_token(&l, ' '))) { - who = noisy_match_result(player, p, NOTYPE, MAT_ABSOLUTE); + who = noisy_match_result(player, p, NOTYPE, MAT_PLAYER | MAT_ABSOLUTE); if (GoodObject(who) && okay_pemit(player, who)) { if (nospoof && Nospoof(who)) { if (Paranoid(who)) {