From da48ea0ecb7f16db23019af46dee4afc60d2746c Mon Sep 17 00:00:00 2001 From: Andrew Miller Date: Sat, 29 Jun 2002 01:59:44 +0000 Subject: [PATCH] - Let handshaking servers flood. 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 | 5 +++++ include/patchlevel.h | 2 +- ircd/s_bsd.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 768c641..18992eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-06-29 Andrew Miller + + * ircd/s_bsd.c (read_packet): don't make handshaking servers go through + the dbufs. + 2002-06-18 Andrew Miller * ircd/s_bsd.c (read_packet): don't allow unregistered clients to flood diff --git a/include/patchlevel.h b/include/patchlevel.h index d954db7..8d58e92 100644 --- a/include/patchlevel.h +++ b/include/patchlevel.h @@ -18,7 +18,7 @@ * $Id$ * */ -#define PATCHLEVEL "04" +#define PATCHLEVEL "05" #define RELEASE ".12.alpha." diff --git a/ircd/s_bsd.c b/ircd/s_bsd.c index 3c02c46..39f72c3 100644 --- a/ircd/s_bsd.c +++ b/ircd/s_bsd.c @@ -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 { -- 2.20.1