From 932748db6dd2a7225c9f12bc34339fcb2f37c319 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 30 Mar 2016 12:40:12 +0200 Subject: Remove unused ProtocolInterface::SendTopic() --- src/modules/m_spanningtree/protocolinterface.cpp | 5 ----- src/modules/m_spanningtree/protocolinterface.h | 1 - 2 files changed, 6 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree/protocolinterface.cpp b/src/modules/m_spanningtree/protocolinterface.cpp index 957638517..be95845a7 100644 --- a/src/modules/m_spanningtree/protocolinterface.cpp +++ b/src/modules/m_spanningtree/protocolinterface.cpp @@ -102,11 +102,6 @@ void SpanningTreeProtocolInterface::Server::SendMetaData(const std::string& key, sock->WriteLine(CommandMetadata::Builder(key, data)); } -void SpanningTreeProtocolInterface::SendTopic(Channel* channel, std::string &topic) -{ - CommandFTopic::Builder(ServerInstance->FakeClient, channel).Broadcast(); -} - void SpanningTreeProtocolInterface::SendSNONotice(char snomask, const std::string &text) { CmdBuilder("SNONOTICE").push(snomask).push_last(text).Broadcast(); diff --git a/src/modules/m_spanningtree/protocolinterface.h b/src/modules/m_spanningtree/protocolinterface.h index c86ca007c..e7fed5475 100644 --- a/src/modules/m_spanningtree/protocolinterface.h +++ b/src/modules/m_spanningtree/protocolinterface.h @@ -36,7 +36,6 @@ class SpanningTreeProtocolInterface : public ProtocolInterface void SendMetaData(User* user, const std::string& key, const std::string& data) CXX11_OVERRIDE; void SendMetaData(Channel* chan, const std::string& key, const std::string& data) CXX11_OVERRIDE; void SendMetaData(const std::string& key, const std::string& data) CXX11_OVERRIDE; - void SendTopic(Channel* channel, std::string &topic); void SendSNONotice(char snomask, const std::string& text) CXX11_OVERRIDE; void SendMessage(Channel* target, char status, const std::string& text, MessageType msgtype); void SendMessage(User* target, const std::string& text, MessageType msgtype); -- cgit v1.3.1-10-gc9f91