Reject clients that attempt to login before the core is configured
authorMichael Marley <michael@michaelmarley.com>
Mon, 2 Apr 2018 23:11:31 +0000 (19:11 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 23 Apr 2018 21:41:56 +0000 (23:41 +0200)
commite17fca767d60c06ca02bc5898ced04f06d3670bd
treeb85decbee3dbd983cced2bca4ce684c5fce51f08
parent2b777e99fc9f74d4ed21491710260664a1721d1f
Reject clients that attempt to login before the core is configured

Properly-implemented clients should never try to do this, but if it
is done, this patch prevents it from crashing the core.

Thanks to @chaign_c (https://twitter.com/chaign_c/) for finding this
issue.
src/core/coreauthhandler.cpp