Revision: 1923
          
http://undernet-ircu.svn.sourceforge.net/undernet-ircu/?rev=1923&view=rev
Author:   entrope
Date:     2010-01-02 04:15:50 +0000 (Sat, 02 Jan 2010)

Log Message:
-----------
Make OPMODE ignore ban count and length checks.
(Patch #2693309, inspired by Quakenet commit 228:4b3157d90fc6.)

Modified Paths:
--------------
    ircu2/branches/u2_10_12_branch/ChangeLog
    ircu2/branches/u2_10_12_branch/ircd/channel.c

Modified: ircu2/branches/u2_10_12_branch/ChangeLog
===================================================================
--- ircu2/branches/u2_10_12_branch/ChangeLog    2010-01-02 04:00:13 UTC (rev 
1922)
+++ ircu2/branches/u2_10_12_branch/ChangeLog    2010-01-02 04:15:50 UTC (rev 
1923)
@@ -1,5 +1,10 @@
 2010-01-01  Michael Poole <[email protected]>
 
+       * ircd/channel.c (mode_process_bans): Bypass total ban count and
+       length checks for OPMODEs.
+
+2010-01-01  Michael Poole <[email protected]>
+
        * ircd/ircd_features.c (feature_report): If sd->sd_funcdata is
        non-zero, report even unchanged features (using prefix 'f').
 

Modified: ircu2/branches/u2_10_12_branch/ircd/channel.c
===================================================================
--- ircu2/branches/u2_10_12_branch/ircd/channel.c       2010-01-02 04:00:13 UTC 
(rev 1922)
+++ ircu2/branches/u2_10_12_branch/ircd/channel.c       2010-01-02 04:15:50 UTC 
(rev 1923)
@@ -2919,6 +2919,7 @@
        len -= banlen;
       } else {
        if (state->flags & MODE_PARSE_SET && MyUser(state->sptr) &&
+            !(state->mbuf->mb_dest & MODEBUF_DEST_OPMODE) &&
            (len > (feature_int(FEAT_AVBANLEN) * feature_int(FEAT_MAXBANS)) ||
             count > feature_int(FEAT_MAXBANS))) {
          send_reply(state->sptr, ERR_BANLISTFULL, state->chptr->chname,


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to