]> jfr.im git - irc/quakenet/snircd-patchqueue.git/commitdiff
badchanactivefor: show 'BADCHAN active for #channel' to opers for each channel the...
authorwiebe <redacted>
Fri, 19 Mar 2010 16:36:05 +0000 (17:36 +0100)
committerwiebe <redacted>
Fri, 19 Mar 2010 16:36:05 +0000 (17:36 +0100)
badchanactivefor.patch [new file with mode: 0644]
series

diff --git a/badchanactivefor.patch b/badchanactivefor.patch
new file mode 100644 (file)
index 0000000..2afc3c9
--- /dev/null
@@ -0,0 +1,16 @@
+show 'BADCHAN active for #channel' to opers for each channel the badchan matches
+
+diff -r f612e56d5dd9 ircd/gline.c
+--- a/ircd/gline.c     Fri Mar 19 16:58:56 2010 +0100
++++ b/ircd/gline.c     Fri Mar 19 17:33:22 2010 +0100
+@@ -229,6 +229,10 @@
+       nchptr=chptr->next;
+       if (match(gline->gl_user, chptr->chname))
+         continue;
++
++      /* let the ops know about it */
++      sendto_opmask_butone(0, SNO_GLINE, "BADCHAN active for %H", chptr);
++
+       for (member=chptr->members;member;member=nmember) {
+         nmember=member->next_member;
+         if (!MyUser(member->user) || IsAnOper(member->user))
diff --git a/series b/series
index f02eb8734b38cdede781b7bf54f06e7ebcbd14e5..934131638758c1db50ce6cec2667ce396da340f6 100644 (file)
--- a/series
+++ b/series
@@ -16,6 +16,7 @@ netriderkickoutsideburst.patch
 killalwaysshowvictimuip.patch
 whomatch.patch
 whousermodes.patch
+badchanactivefor.patch
 chanopaccountabilityforkickdelayedjoin.patch
 ulined.patch
 remoteglinejupe.patch