Player aliases may now be supplied in @pemit/list
authornveid <nveid@cobramush.org>
Thu, 5 Apr 2007 04:23:26 +0000 (04:23 +0000)
committerAri Johnson <ari@theari.com>
Thu, 24 Mar 2011 15:58:45 +0000 (15:58 +0000)
(cherry picked from commit 61becff3ed80191d53adfc29f1f6a28bf95f7575)

game/txt/changes/0.73
src/speech.c

index aaa28f7f7b694d0eb0e6998bda8da5994771eb1d..1fc8e5a49fc55ff29247a0b2a82dc2287fdefff6 100644 (file)
@@ -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]
 
index fac55a7c036d8003c43eb1c6fb56bf48cf28bb7a..d36594a8bff360a41abe2afa45cffee32e6ea4b1 100644 (file)
@@ -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)) {