From: Marcus Eggenberger Date: Sun, 10 Aug 2008 16:20:25 +0000 (+0200) Subject: Fixed a bug where the client would not initialize channel and user metadata X-Git-Tag: 0.3.0~73 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=b7fc7afb8e7116f8148b41e045561a0df840c42d;p=quassel.git Fixed a bug where the client would not initialize channel and user metadata Symptom: channels being disabled though new chatlines were received --- diff --git a/src/common/network.cpp b/src/common/network.cpp index e763fb95..58171fe0 100644 --- a/src/common/network.cpp +++ b/src/common/network.cpp @@ -547,7 +547,7 @@ QVariantMap Network::initIrcUsersAndChannels() const { void Network::initSetIrcUsersAndChannels(const QVariantMap &usersAndChannels) { Q_ASSERT(proxy()); - if(!_ircUsers.isEmpty() || !_ircChannels.isEmpty()) { + if(isInitialized()) { qWarning() << "Network" << networkId() << "received init data for users and channels allthough there allready are known users or channels!"; return; }