summaryrefslogtreecommitdiff
path: root/modules/protocol/plexus.cpp
diff options
context:
space:
mode:
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