From fbcbf7e3f54443477aa6098bd41f825167dd1e76 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Apr 2011 17:52:20 +0300 Subject: Remove useless code. --- src/gui/widgets/channeltab.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/widgets/channeltab.cpp b/src/gui/widgets/channeltab.cpp index d033f4205..625a9b589 100644 --- a/src/gui/widgets/channeltab.cpp +++ b/src/gui/widgets/channeltab.cpp @@ -103,10 +103,6 @@ bool ChannelTab::handleCommand(const std::string &type, { Net::getChatHandler()->setChannelTopic(mChannel->getId(), args); } - else if (type == "topic") - { - Net::getChatHandler()->setChannelTopic(mChannel->getId(), args); - } else if (type == "quit") { Net::getChatHandler()->quitChannel(mChannel->getId()); -- cgit v1.2.3-70-g09d2