Fix crash with KDE network detection
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 5 May 2014 18:37:36 +0000 (20:37 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 5 May 2014 18:39:36 +0000 (20:39 +0200)
commit447501045b6fe14fdeff95823e2ea85416da7a77
tree8587c621acaeccc4a3338693d9b6422b67699b44
parentf6cc3c4c662771d76355f876dd6e0317b890676b
Fix crash with KDE network detection

If the network connection status changed during authentication phase,
Quassel would crash. This is caused by some old bits of code that still
assume that there's always a Peer around, which is no longer the case
after splitting off the AuthHandler.

This commit fixes that issue. Thanks to shadeslayer for the report and
really useful backtrace.
src/client/coreconnection.cpp
src/common/authhandler.cpp
src/common/authhandler.h