Show full flag name, not letter, when refusing to set umode +s +n or +a.

This commit is contained in:
Jilles Tjoelker 2008-01-05 01:37:03 +01:00
parent f3d2fceb65
commit d180319a9d
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}