mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
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