override: Provide an error message if +p may not be set.

This commit is contained in:
Jilles Tjoelker 2010-12-31 02:43:38 +01:00
parent fa0e215255
commit 6d61f90fd6

View file

@ -113,6 +113,7 @@ check_umode_change(void *vdata)
if (!IsOperOverride(source_p)) if (!IsOperOverride(source_p))
{ {
sendto_one_notice(source_p, ":*** You need oper:override privilege for +p");
source_p->umodes &= ~user_modes['p']; source_p->umodes &= ~user_modes['p'];
return; return;
} }