Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Tue, 17 Jul 2001 14:15:23 +0000 (14:15 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Tue, 17 Jul 2001 14:15:23 +0000 (14:15 +0000)
Log message:

Remove spurious protocol violation notices by backing off on the required
parameter count for BURST.  These can be sent if all users on a channel
with no modes set get collided off during the burst.  If the channel
remains empty after the BURST is complete, it will be garbage-collected
as before during the processing of END_OF_BURST.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@531 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/m_burst.c

index 2a94cfdc2bc30e6a04240cf216f9a7bba0dec0f9..b4580872b0fdb9777776a0ec00ad4b2cfceb2a14 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-17  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/m_burst.c (ms_burst): in the case of a modeless channel and
+       a nick collide, a bare BURST may be propagated; adjust the
+       enforced parameter count to accept the bare BURST
+
 2001-07-12  Kevin L. Mitchell  <klmitch@mit.edu>
 
        * ircd/s_bsd.c: mark a client as having been IP checked
index 498b64dedf6dec7155596eff92532a7aea5c3019..ecde2f46c3eaed8d8983b8da58dbcede0a79f170 100644 (file)
@@ -145,7 +145,7 @@ int ms_burst(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
   int param, nickpos = 0, banpos = 0;
   char modestr[BUFSIZE], nickstr[BUFSIZE], banstr[BUFSIZE];
 
-  if (parc < 4)
+  if (parc < 3)
     return protocol_violation(sptr,"Too few parameters for BURST");
 
   if (!IsBurst(sptr)) /* don't allow BURST outside of burst */