From 8cf7ec9cfee0ce9050b2192e86a47889561f85bd Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 23 Feb 2013 04:32:14 -0500 Subject: Add missing SVSHold funcs to plexus protocol module --- modules/protocol/plexus.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules/protocol/plexus.cpp') diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index 1624aa28e..28b2c6008 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -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 -- cgit