diff options
author | Adam <Adam@anope.org> | 2013-02-23 17:41:52 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-02-23 17:41:52 -0500 |
commit | d04db3d38b2bafad532bf188a5f2044ea97c9e3c (patch) | |
tree | c6925ccdd22ca446c79808ba7b0c2a8b5ecf93a1 /modules/protocol/plexus.cpp | |
parent | 35c260877f7a1c50b3bac720c3256a5055a622e0 (diff) |
Add SVSNICK and SVSHOLD to hybrid
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r-- | modules/protocol/plexus.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index 28b2c6008..d117389e7 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -45,6 +45,8 @@ class PlexusProto : public IRCDProto void SendAkill(User *u, XLine *x) anope_override { hybrid->SendAkill(u, x); } void SendServer(const Server *server) anope_override { hybrid->SendServer(server); } void SendChannel(Channel *c) anope_override { hybrid->SendChannel(c); } + void SendSVSHold(const Anope::string &nick) anope_override { hybrid->SendSVSHold(nick); } + void SendSVSHoldDel(const Anope::string &nick) anope_override { hybrid->SendSVSHoldDel(nick); } void SendJoin(const User *user, Channel *c, const ChannelStatus *status) anope_override { @@ -162,16 +164,6 @@ 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 |