summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-22 17:52:20 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-22 17:52:20 +0300
commitfbcbf7e3f54443477aa6098bd41f825167dd1e76 (patch)
tree124d3533cdb8131964db30d93ef6c260480491b9
parent9a1011a40d1c014d075d5a4f95be13dd74c361c4 (diff)
downloadplus-fbcbf7e3f54443477aa6098bd41f825167dd1e76.tar.gz
plus-fbcbf7e3f54443477aa6098bd41f825167dd1e76.tar.bz2
plus-fbcbf7e3f54443477aa6098bd41f825167dd1e76.tar.xz
plus-fbcbf7e3f54443477aa6098bd41f825167dd1e76.zip
Remove useless code.
-rw-r--r--src/gui/widgets/channeltab.cpp4
1 files changed, 0 insertions, 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());