1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 17:46:39 +02:00

Keep track on what ircds we can svsjoin, add an svspart method

This commit is contained in:
Adam
2012-11-26 22:57:51 -05:00
parent f23bad140b
commit 8a6962fc36
9 changed files with 67 additions and 22 deletions
+10
View File
@@ -151,6 +151,16 @@ class PlexusProto : public IRCDProto
{
UplinkSocket::Message(bi) << "ENCAP * TOPIC " << c->name << " " << c->topic_setter << " " << c->topic_ts << " :" << c->topic;
}
void SendSVSJoin(const BotInfo *source, const User *user, const Anope::string &chan, const Anope::string &param) anope_override
{
UplinkSocket::Message(source) << "ENCAP " << user->server->GetSID() << " SVSJOIN " << user->GetUID() << " " << chan;
}
void SendSVSPart(const BotInfo *source, const User *user, const Anope::string &chan, const Anope::string &param) anope_override
{
UplinkSocket::Message(source) << "ENCAP " << user->server->GetSID() << " SVSPART " << user->GetUID() << " " << chan;
}
};
struct IRCDMessageEncap : IRCDMessage