Revision: 1902
http://undernet-ircu.svn.sourceforge.net/undernet-ircu/?rev=1902&view=rev
Author: entrope
Date: 2009-01-13 03:27:27 +0000 (Tue, 13 Jan 2009)
Log Message:
-----------
Author: Michael Poole <[email protected]>
Description:
Fix bouncing of limit changes.
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 2009-01-13 02:43:56 UTC (rev
1901)
+++ ircu2/branches/u2_10_12_branch/ChangeLog 2009-01-13 03:27:27 UTC (rev
1902)
@@ -1,5 +1,9 @@
2009-01-12 Michael Poole <[email protected]>
+ * ircd/channel.c (modebuf_mode_uint): Fix bouncing of limit changes.
+
+2009-01-12 Michael Poole <[email protected]>
+
* ircd/gline.c (count_users): Accept "flags" mask to limit count
to local users.
(gline_add): Pass the flags to count_users().
Modified: ircu2/branches/u2_10_12_branch/ircd/channel.c
===================================================================
--- ircu2/branches/u2_10_12_branch/ircd/channel.c 2009-01-13 02:43:56 UTC
(rev 1901)
+++ ircu2/branches/u2_10_12_branch/ircd/channel.c 2009-01-13 03:27:27 UTC
(rev 1902)
@@ -1986,7 +1986,7 @@
assert(0 != mbuf);
assert(0 != (mode & (MODE_ADD | MODE_DEL)));
- if (mode == (MODE_LIMIT | ((mbuf->mb_dest & MODEBUF_DEST_BOUNCE) ? MODE_ADD
: MODE_DEL))) {
+ if (mode == (MODE_LIMIT | MODE_DEL)) {
mbuf->mb_rem |= mode;
return;
}
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