- Let handshaking servers flood.
authorAndrew Miller <a1kmm@amxl.com>
Sat, 29 Jun 2002 01:59:44 +0000 (01:59 +0000)
committerAndrew Miller <a1kmm@amxl.com>
Sat, 29 Jun 2002 01:59:44 +0000 (01:59 +0000)
This *might* fix the dbuf bug, because note that before
handshaking servers were not treated like servers even
though they had authed, and dbufs were being used. I
am not certain this is the problem though.

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

ChangeLog
include/patchlevel.h
ircd/s_bsd.c

index 768c64149b94e7f0e6c7e0168a1a268f6204a0c0..18992ebfdb5106b747531eef472c6dcf035b8ea1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-29  Andrew Miller <a1kmm@mware.virtualave.net>
+
+       * ircd/s_bsd.c (read_packet): don't make handshaking servers go through
+       the dbufs.
+       
 2002-06-18  Andrew Miller <a1kmm@mware.virtualave.net>
 
        * ircd/s_bsd.c (read_packet): don't allow unregistered clients to flood
index d954db7f3a6b0d1321295a4997d854ab21e06334..8d58e9211c78b8c92ca408df98f639c35c4cc513 100644 (file)
@@ -18,7 +18,7 @@
  * $Id$
  *
  */
-#define PATCHLEVEL "04"
+#define PATCHLEVEL "05"
 
 #define RELEASE ".12.alpha."
 
index 3c02c469cbd24211c5aa63adf3b68451fe6efcf4..39f72c36b78b21c7cee25303286db8b8b8e75af9 100644 (file)
@@ -724,7 +724,7 @@ static int read_packet(struct Client *cptr, int socket_ready)
    * For server connections, we process as many as we can without
    * worrying about the time of day or anything :)
    */
-  if (length > 0 && IsServer(cptr)) {
+  if (length > 0 && (IsServer(cptr) || IsHandshake(cptr))) {
     return server_dopacket(cptr, readbuf, length);
   }
   else {