From: Cruicky Date: Fri, 5 Jun 2009 21:54:54 +0000 (+0100) Subject: HELPMOD2: Ignore friends in lamer control X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/commitdiff_plain/e5882ade378abf3602b33cbcec9816d11405c43d HELPMOD2: Ignore friends in lamer control --- diff --git a/helpmod2/helpmod2.c b/helpmod2/helpmod2.c index 2752a890..d6258339 100644 --- a/helpmod2/helpmod2.c +++ b/helpmod2/helpmod2.c @@ -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 */