diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-03-30 12:40:12 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-03-30 12:40:12 +0200 |
commit | 932748db6dd2a7225c9f12bc34339fcb2f37c319 (patch) | |
tree | 0156cb55c83dacae0c32316f8febc099e539c7a8 /src | |
parent | 804d58e2001f04786d2594f046d591b664235642 (diff) |
Remove unused ProtocolInterface::SendTopic()
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree/protocolinterface.cpp | 5 | ||||
-rw-r--r-- | src/modules/m_spanningtree/protocolinterface.h | 1 |
2 files changed, 0 insertions, 6 deletions
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); |