From b7fc7afb8e7116f8148b41e045561a0df840c42d Mon Sep 17 00:00:00 2001 From: Marcus Eggenberger Date: Sun, 10 Aug 2008 18:20:25 +0200 Subject: [PATCH] Fixed a bug where the client would not initialize channel and user metadata Symptom: channels being disabled though new chatlines were received --- src/common/network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1