summaryrefslogtreecommitdiff
path: root/modules/protocol/plexus.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-02-23 04:32:14 -0500
committerAdam <Adam@anope.org>2013-02-23 04:32:41 -0500
commit8cf7ec9cfee0ce9050b2192e86a47889561f85bd (patch)
treed5b79839242854d8a8de74bc0c986b54f14694bd /modules/protocol/plexus.cpp
parentc67087d750ad712779f7615ca0274a01ce475193 (diff)
Add missing SVSHold funcs to plexus protocol module
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r--modules/protocol/plexus.cpp10
1 files changed, 10 insertions, 0 deletions
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