diff options
-rw-r--r-- | konversation/src/server.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/konversation/src/server.cpp b/konversation/src/server.cpp index ed37f87..55712e2 100644 --- a/konversation/src/server.cpp +++ b/konversation/src/server.cpp @@ -2326,9 +2326,8 @@ bool Server::setNickOffline(const TQString& nickname) { TQString lcNickname = nickname.lower(); NickInfoPtr nickInfo = getNickInfo(lcNickname); - bool wasOnline = nickInfo->getPrintedOnline(); - if (nickInfo && wasOnline) + if (nickInfo && nickInfo->getPrintedOnline()) { // Delete from query list, if present. if (m_queryNicks.contains(lcNickname)) m_queryNicks.remove(lcNickname); |