From f10466a09340a5bda353713a6b0429655fb4f6c3 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Fri, 23 Feb 2007 03:10:13 +0000 Subject: [PATCH] When one alias in a list is invalid, it is specifically reported --- src/attrib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.30.2