]> jfr.im git - irc/quakenet/newserv.git/commitdiff
HELPMOD2: Ignore friends in lamer control
authorCruicky <redacted>
Fri, 5 Jun 2009 21:54:54 +0000 (22:54 +0100)
committerCruicky <redacted>
Fri, 5 Jun 2009 21:54:54 +0000 (22:54 +0100)
helpmod2/helpmod2.c

index 2752a890fea9fc100166b0d9952ef8efc022914c..d625833942766e4d181507e1e1400f4ace75cbbe 100644 (file)
@@ -312,7 +312,7 @@ void helpmod_chan_privmsg(void **args)
     }
     huser_activity(sender_huser, hchan);
 
-    if (huser_get_level(sender_huser) < H_TRIAL) /* staff and staff trials are not subject to any control */
+    if (huser_get_level(sender_huser) < H_FRIEND) /* staff, staff trials and friends are not subject to any control */
     {
         if ((hchan->flags & H_CENSOR) && (tmp = hcensor_check(hchan->censor, (char*)message)))
         { /* censor match */