1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 20:56:38 +02:00

Add missing SVSHold funcs to plexus protocol module

This commit is contained in:
Adam
2013-02-23 04:32:14 -05:00
parent c67087d750
commit 8cf7ec9cfe
+10
View File
@@ -162,6 +162,16 @@ class PlexusProto : public IRCDProto
{
UplinkSocket::Message(source) << "ENCAP " << user->server->GetName() << " SVSPART " << user->GetUID() << " " << chan;
}
void SendSVSHold(const Anope::string &nick) anope_override
{
UplinkSocket::Message(OperServ) << "ENCAP * RESV " << Config->NSReleaseTimeout << " " << nick << " 0 :Being held for registered user";
}
void SendSVSHoldDel(const Anope::string &nick) anope_override
{
UplinkSocket::Message(OperServ) << "UNRESV * " << nick;
}
};
struct IRCDMessageEncap : IRCDMessage