diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-03-30 12:38:36 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-03-30 12:38:36 +0200 |
commit | 804d58e2001f04786d2594f046d591b664235642 (patch) | |
tree | 0a13486452db3a9f83f5be626a85bcf29c7fb6e6 /src/modules | |
parent | f67aba687bb425ee8d2c810e00665a5bccf77af2 (diff) |
Remove ProtocolInterface::PushToClient()
Diffstat (limited to 'src/modules')
-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 786f8b74b..957638517 100644 --- a/src/modules/m_spanningtree/protocolinterface.cpp +++ b/src/modules/m_spanningtree/protocolinterface.cpp @@ -112,11 +112,6 @@ void SpanningTreeProtocolInterface::SendSNONotice(char snomask, const std::strin CmdBuilder("SNONOTICE").push(snomask).push_last(text).Broadcast(); } -void SpanningTreeProtocolInterface::PushToClient(User* target, const std::string &rawline) -{ - CmdBuilder("PUSH").push(target->uuid).push_last(rawline).Unicast(target); -} - void SpanningTreeProtocolInterface::SendMessage(Channel* target, char status, const std::string& text, MessageType msgtype) { const char* cmd = (msgtype == MSG_PRIVMSG ? "PRIVMSG" : "NOTICE"); diff --git a/src/modules/m_spanningtree/protocolinterface.h b/src/modules/m_spanningtree/protocolinterface.h index 45742e9ea..c86ca007c 100644 --- a/src/modules/m_spanningtree/protocolinterface.h +++ b/src/modules/m_spanningtree/protocolinterface.h @@ -38,7 +38,6 @@ class SpanningTreeProtocolInterface : public ProtocolInterface 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 PushToClient(User* target, const std::string &rawline); void SendMessage(Channel* target, char status, const std::string& text, MessageType msgtype); void SendMessage(User* target, const std::string& text, MessageType msgtype); void GetServerList(ServerList& sl); |