0
0
Fork 0
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:
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))
{
sendto_one_notice(source_p, ":*** You need oper:override privilege for +p");
source_p->umodes &= ~user_modes['p'];
return;
}