From b4838ccdf5a3b003ead5529f1e9b040004025d30 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sat, 5 Jan 2008 01:37:03 +0100 Subject: [PATCH] Show full flag name, not letter, when refusing to set umode +s +n or +a. --- src/s_user.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/s_user.c b/src/s_user.c index 299ed22bd..2a1b229e9 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -1077,7 +1077,7 @@ user_mode(struct Client *client_p, struct Client *source_p, int parc, const char if(MyClient(source_p) && (source_p->snomask & SNO_NCHANGE) && !IsOperN(source_p)) { - sendto_one_notice(source_p, ":*** You need oper and N flag for +s +n"); + sendto_one_notice(source_p, ":*** You need oper and nick_changes flag for +s +n"); source_p->snomask &= ~SNO_NCHANGE; /* only tcm's really need this */ } @@ -1090,7 +1090,7 @@ user_mode(struct Client *client_p, struct Client *source_p, int parc, const char if(MyConnect(source_p) && (source_p->umodes & UMODE_ADMIN) && (!IsOperAdmin(source_p) || IsOperHiddenAdmin(source_p))) { - sendto_one_notice(source_p, ":*** You need oper and A flag for +a"); + sendto_one_notice(source_p, ":*** You need oper and admin flag for +a"); source_p->umodes &= ~UMODE_ADMIN; }