summaryrefslogtreecommitdiff
path: root/src/gui/widgets
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 /src/gui/widgets
parent9a1011a40d1c014d075d5a4f95be13dd74c361c4 (diff)
downloadmanaplus-fbcbf7e3f54443477aa6098bd41f825167dd1e76.tar.gz
manaplus-fbcbf7e3f54443477aa6098bd41f825167dd1e76.tar.bz2
manaplus-fbcbf7e3f54443477aa6098bd41f825167dd1e76.tar.xz
manaplus-fbcbf7e3f54443477aa6098bd41f825167dd1e76.zip
Remove useless code.
Diffstat (limited to 'src/gui/widgets')
-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());