summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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());