When one alias in a list is invalid, it is specifically reported
authorAri Johnson <ari@cobramush.org>
Fri, 23 Feb 2007 03:10:13 +0000 (03:10 +0000)
committerAri Johnson <ari@cobramush.org>
Fri, 23 Feb 2007 03:10:13 +0000 (03:10 +0000)
src/attrib.c

index 212ce50597db7258306a51814d13ea5a7b518617..d530acd00164080eb67a07d42714475b8c2888f4 100644 (file)
@@ -1745,13 +1745,13 @@ do_set_atr(dbref thing, const char *RESTRICT atr, const char *RESTRICT s,
       strcpy(tbuf1, atr_value(old));
       if (s && (!*s || (strcasecmp(s, tbuf1)
                        && !ok_player_alias(s, player, thing)))) {
-        notify(player, T("That is not a valid alias."));
+        notify_format(player, T("'%s' is not a valid alias."), s);
         return -1;
       }
     } else {
       /* No old alias */
       if (s && *s && !ok_player_alias(s, player, thing)) {
-        notify(player, T("That is not a valid alias."));
+        notify_format(player, T("'%s' is not a valid alias."), s);
         return -1;
       }
     }