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.
This commit is contained in:
Alexander Barton 2012-01-22 18:35:54 +01:00
parent eba95bb0d2
commit e0c9931ad8
1 changed files with 1 additions and 0 deletions

View File

@ -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 );