override: Provide an error message if +p may not be set.
This commit is contained in:
parent
fa0e215255
commit
6d61f90fd6
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ check_umode_change(void *vdata)
|
|||
|
||||
if (!IsOperOverride(source_p))
|
||||
{
|
||||
sendto_one_notice(source_p, ":*** You need oper:override privilege for +p");
|
||||
source_p->umodes &= ~user_modes['p'];
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue