Commit Diff
- Commit:
e0c9931ad8db8a9bd7d6c030d856ccc28c6facc2
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Message:
- 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.
- Actions:
- Patch | Tree
--- src/ngircd/conn.c +++ 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 );