From: Ari Johnson Date: Fri, 23 Feb 2007 03:10:13 +0000 (+0000) Subject: When one alias in a list is invalid, it is specifically reported X-Git-Tag: 0.73~110 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=f10466a09340a5bda353713a6b0429655fb4f6c3;p=cobramush.git When one alias in a list is invalid, it is specifically reported --- diff --git a/src/attrib.c b/src/attrib.c index 212ce50..d530acd 100644 --- a/src/attrib.c +++ b/src/attrib.c @@ -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; } }