*/
virtual void SendMetaData(const std::string& key, const std::string& data) { }
- /** Send a topic change for a channel
- * @param channel The channel to change the topic for.
- * @param topic The new topic to use for the channel.
- */
- virtual void SendTopic(Channel* channel, std::string &topic) { }
-
/** Send a notice to users with a given snomask.
* @param snomask The snomask required for the message to be sent.
* @param text The message to send.
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();
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);