]> granicus.if.org Git - ngircd/commit
Check G/K-Lines before the client has been registered, too
authorAlexander Barton <alex@barton.de>
Sun, 22 Jan 2012 17:35:54 +0000 (18:35 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 22 Jan 2012 17:35:54 +0000 (18:35 +0100)
commite0c9931ad8db8a9bd7d6c030d856ccc28c6facc2
tree621e83e217d5f224867006510508c48950f98a4e
parenteba95bb0d240aa3c8791cb6eb830ced5023db0b0
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