From e0c9931ad8db8a9bd7d6c030d856ccc28c6facc2 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 22 Jan 2012 18:35:54 +0100 Subject: [PATCH] Check G/K-Lines before the client has been registered, too This allows to use "*!@" or "*!*@" masks to reject clients even before receiving PASS, NICK and USER commands and before forking authentication child processes which reduces resource usage. --- src/ngircd/conn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 5f3c18af..40a2af6e 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -2225,6 +2225,7 @@ cb_Read_Resolver_Result( int r_fd, UNUSED short events ) "NOTICE AUTH :*** No ident response"); } #endif + Class_HandleServerBans(c); } #ifdef DEBUG else Log( LOG_DEBUG, "Resolver: discarding result for already registered connection %d.", i );