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:45:05 +0000 (23:45 +0200)
commit08bace4e9ecf08273f094c0c6aa8b3363d38ac3e
treed3e8cd72b77ed14208379bbbb1a9634e04e3f070
parent18389a713a6810f57ab237b945e8ee03df857b8b
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.

(cherry picked from commit e17fca767d60c06ca02bc5898ced04f06d3670bd)
src/core/coreauthhandler.cpp