Module: ngircd.git Branch: master Commit: e0c9931ad8db8a9bd7d6c030d856ccc28c6facc2 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=e0c99...
Author: Alexander Barton alex@barton.de Date: Sun Jan 22 18:35:54 2012 +0100
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.
---
src/ngircd/conn.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 5f3c18a..40a2af6 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 );
ngircd-commits@lists.barton.de