diff options
author | Adam <Adam@anope.org> | 2016-12-18 20:41:05 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-12-18 20:41:05 -0500 |
commit | ff030c1eb7c3764f9add2a689479e84d616cabcb (patch) | |
tree | 595bdf0a7e420da2ae3be19aacc627ff20991a1f /include | |
parent | f14307ca6fe559e5278f7a35dc4deeeec474b996 (diff) |
protocol/inspircd20: use own svsjoin/part/nicks to vaoid module dependencies on hybrid/bahamut
Diffstat (limited to 'include')
-rw-r--r-- | include/modules/protocol/inspircd20.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/modules/protocol/inspircd20.h b/include/modules/protocol/inspircd20.h index 391a0bc79..efaec22a5 100644 --- a/include/modules/protocol/inspircd20.h +++ b/include/modules/protocol/inspircd20.h @@ -203,6 +203,14 @@ class SVSHoldDel : public messages::SVSHoldDel void Send(const Anope::string &) override; }; +class SVSJoin : public messages::SVSJoin +{ + public: + using messages::SVSJoin::SVSJoin; + + void Send(const MessageSource &source, User *u, const Anope::string &chan, const Anope::string &key) override; +}; + class SVSLogin : public messages::SVSLogin { public: @@ -211,6 +219,23 @@ class SVSLogin : public messages::SVSLogin void Send(const Anope::string &uid, const Anope::string &acc, const Anope::string &vident, const Anope::string &vhost) override; }; + +class SVSNick : public messages::SVSNick +{ + public: + using messages::SVSNick::SVSNick; + + void Send(User *u, const Anope::string &newnick, time_t ts) override; +}; + +class SVSPart : public messages::SVSPart +{ + public: + using messages::SVSPart::SVSPart; + + void Send(const MessageSource &source, User *u, const Anope::string &chan, const Anope::string &reason) override; +}; + class SWhois : public messages::SWhois { public: |