]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blob - badchanactivefor.patch
whonoidle: hide idle time of users with mode +I in non-HIS setup in WHO
[irc/quakenet/snircd-patchqueue.git] / badchanactivefor.patch
1 show 'BADCHAN active for #channel' to opers for each channel the badchan matches
2
3 diff -r f612e56d5dd9 ircd/gline.c
4 --- a/ircd/gline.c Fri Mar 19 16:58:56 2010 +0100
5 +++ b/ircd/gline.c Fri Mar 19 17:33:22 2010 +0100
6 @@ -229,6 +229,10 @@
7 nchptr=chptr->next;
8 if (match(gline->gl_user, chptr->chname))
9 continue;
10 +
11 + /* let the ops know about it */
12 + sendto_opmask_butone(0, SNO_GLINE, "BADCHAN active for %H", chptr);
13 +
14 for (member=chptr->members;member;member=nmember) {
15 nmember=member->next_member;
16 if (!MyUser(member->user) || IsAnOper(member->user))