commit 90509b2e2a364471f2461367fd02c11c8ab3c72d
Author: Stephen Bennett <spb@exherbo.org> Date: Fri Dec 31 17:11:50 2010 +0000 Don't allow opers without the override privilege to get +p via the oper_umodes config setting
This commit is contained in:
parent
0258787d5d
commit
bd73ea56ba
|
@ -1396,6 +1396,8 @@ oper_up(struct Client *source_p, struct oper_conf *oper_p)
|
||||||
source_p->snomask &= ~SNO_NCHANGE;
|
source_p->snomask &= ~SNO_NCHANGE;
|
||||||
if(!IsOperOperwall(source_p))
|
if(!IsOperOperwall(source_p))
|
||||||
source_p->umodes &= ~UMODE_OPERWALL;
|
source_p->umodes &= ~UMODE_OPERWALL;
|
||||||
|
if (!IsOperOverride(source_p))
|
||||||
|
source_p->umodes &= ~UMODE_OVERRIDE;
|
||||||
hdata.client = source_p;
|
hdata.client = source_p;
|
||||||
hdata.oldumodes = old;
|
hdata.oldumodes = old;
|
||||||
hdata.oldsnomask = oldsnomask;
|
hdata.oldsnomask = oldsnomask;
|
||||||
|
|
Loading…
Reference in New Issue