Fix bug #916138 so -l doesn't gobble an argument.
[ircu2.10.12-pk.git] / ChangeLog
index bbc1a97e2e01a44b474ed44d105f5040da9bb323..be3867cd546c395410b7fb98b14300a9b7949700 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2004-09-11  Kevin L Mitchell  <klmitch@mit.edu>
+
+       * ircd/channel.c: removing limits shouldn't gobble an argument;
+       this was a subtle interaction issue with modebuf...fixed by adding
+       MODE_LIMIT to modebuf_flush_int() and short-circuiting
+       modebuf_mode_uint() to add MODE_LIMIT to mbuf->mb_rem in the
+       removal case.  Note that this is not proof against the sequence,
+       "modebuf_mode_uint(mbuf, MODE_ADD | MODE_LIMIT, 10);
+       modebuf_mode_uint(mbuf, MODE_DEL | MODE_LIMIT, 10);"
+       (Bug #916138)
+
 2004-09-11  Michael Poole <mdpoole@troilus.org>
 
        * include/supported.h: Kev pointed out I misinterpreted the