*/
virtual void SendTopic(Channel* channel, std::string &topic) { }
- /** Send mode changes for an object.
- * @param source The source of the mode change
- * @param usertarget The target user, NULL if the target is a channel
- * @param chantarget The target channel, NULL if the target is a user
- * @param modedata The mode changes to send.
- * @param translate A list of translation types
- */
- virtual void SendMode(User* source, User* usertarget, Channel* chantarget, const parameterlist& modedata, const std::vector<TranslateType>& translate) { }
-
/** 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.
LastParse.append(output_mode);
LastParse.append(output_parameters);
- if (!(flags & MODE_LOCALONLY))
- ServerInstance->PI->SendMode(user, targetuser, targetchannel, LastParseParams, LastParseTranslate);
-
if (targetchannel)
targetchannel->WriteChannel(user, "MODE " + LastParse);
else
CommandFTopic::Builder(ServerInstance->FakeClient, channel).Broadcast();
}
-void SpanningTreeProtocolInterface::SendMode(User* source, User* u, Channel* c, const std::vector<std::string>& modedata, const std::vector<TranslateType>& translate)
-{
-}
-
void SpanningTreeProtocolInterface::SendSNONotice(char snomask, const std::string &text)
{
CmdBuilder("SNONOTICE").push(snomask).push_last(text).Broadcast();
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 SendMode(User* source, User* usertarget, Channel* chantarget, const parameterlist& modedata, const std::vector<TranslateType>& types);
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);