core: Avoid confusing log message when legacy client connects
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 17 May 2018 19:37:46 +0000 (21:37 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 17 May 2018 19:45:53 +0000 (21:45 +0200)
commit899709300734acc2bac01b1d57a1fd8fe2a6d923
tree4cae6b28def334d39b7b610b94ab3b89c39f448a
parentfa3449061f17d7e8db1387f0758fd052f22f4c3b
core: Avoid confusing log message when legacy client connects

Older clients don't report the features they support, which resulted
in a log message listing all features as missing if such a client
connected.
Handle this special case by checking if any client feature is enabled,
and if not, providing a different log message to avoid user
confusion.
src/common/quassel.cpp
src/core/coreauthhandler.cpp