This check was erroneously removed when fixing /mode #channel f when +f is
mlocked. Mlock checks were restricted to the places requiring chanops
(other than viewing +eI lists); cmode +L/+P do not require chanops, but
still constitute a mode change that must be checked against mlock.
return;
}
+ if(!allow_mode_change(source_p, chptr, CHFL_CHANOP, errors, c))
+ return;
+
if(MyClient(source_p) && (++mode_limit_simple > MAXMODES_SIMPLE))
return;