mirror of
https://github.com/anope/anope.git
synced 2026-07-02 20:03:12 +02:00
Add svsjoin and svspart commands
This commit is contained in:
@@ -155,12 +155,12 @@ class PlexusProto : public IRCDProto
|
||||
|
||||
void SendSVSJoin(const BotInfo *source, const User *user, const Anope::string &chan, const Anope::string ¶m) anope_override
|
||||
{
|
||||
UplinkSocket::Message(source) << "ENCAP " << user->server->GetSID() << " SVSJOIN " << user->GetUID() << " " << chan;
|
||||
UplinkSocket::Message(source) << "ENCAP " << user->server->GetName() << " SVSJOIN " << user->GetUID() << " " << chan;
|
||||
}
|
||||
|
||||
void SendSVSPart(const BotInfo *source, const User *user, const Anope::string &chan, const Anope::string ¶m) anope_override
|
||||
{
|
||||
UplinkSocket::Message(source) << "ENCAP " << user->server->GetSID() << " SVSPART " << user->GetUID() << " " << chan;
|
||||
UplinkSocket::Message(source) << "ENCAP " << user->server->GetName() << " SVSPART " << user->GetUID() << " " << chan;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user