diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/channeltab.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/widgets/channeltab.cpp b/src/gui/widgets/channeltab.cpp index a7370a4c..31373748 100644 --- a/src/gui/widgets/channeltab.cpp +++ b/src/gui/widgets/channeltab.cpp @@ -32,7 +32,6 @@ ChannelTab::ChannelTab(Channel *channel) : ChatTab(channel->getName()), mChannel(channel) { - channel->setTab(this); } ChannelTab::~ChannelTab() @@ -102,10 +101,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()); |