Author: Stephen Bennett <redacted>
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
source_p->snomask &= ~SNO_NCHANGE;
if(!IsOperOperwall(source_p))
source_p->umodes &= ~UMODE_OPERWALL;
+ if (!IsOperOverride(source_p))
+ source_p->umodes &= ~UMODE_OVERRIDE;
hdata.client = source_p;
hdata.oldumodes = old;
hdata.oldsnomask = oldsnomask;