summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2012-01-22 18:35:54 +0100
committerAlexander Barton <alex@barton.de>2012-01-22 18:35:54 +0100
commite0c9931ad8db8a9bd7d6c030d856ccc28c6facc2 (patch)
tree621e83e217d5f224867006510508c48950f98a4e /src
parenteba95bb0d240aa3c8791cb6eb830ced5023db0b0 (diff)
downloadngircd-e0c9931ad8db8a9bd7d6c030d856ccc28c6facc2.tar.gz
ngircd-e0c9931ad8db8a9bd7d6c030d856ccc28c6facc2.zip
Check G/K-Lines before the client has been registered, too
This allows to use "*!<user>@<host>" or "*!*@<host>" masks to reject
clients even before receiving PASS, NICK and USER commands and before
forking authentication child processes which reduces resource usage.
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/conn.c1
1 files changed, 1 insertions, 0 deletions
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 );