diff options
author | Adam <Adam@anope.org> | 2017-04-06 16:24:15 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-04-06 16:24:15 -0400 |
commit | 25b2fd0730f199f5fb8d3888906e0b600c62e55a (patch) | |
tree | 3e9972f45833c969e0703c6b3b9b6c7962290f26 /include | |
parent | e4a36498000b35803946731e3057cf8f9ee827e8 (diff) | |
parent | f4543edfe25d3c067f4884df1c0b101161342318 (diff) |
Merge commit 'f4543edfe25d3c067f4884df1c0b101161342318'
Diffstat (limited to 'include')
-rw-r--r-- | include/modules/protocol/plexus.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/include/modules/protocol/plexus.h b/include/modules/protocol/plexus.h index 4afbc391e..4d35cdd1f 100644 --- a/include/modules/protocol/plexus.h +++ b/include/modules/protocol/plexus.h @@ -53,6 +53,14 @@ class NOOP : public messages::NOOP void Send(Server *s, bool mode) override; }; +class SASL : public messages::SASL +{ + public: + using messages::SASL::SASL; + + void Send(const ::SASL::Message &) override; +}; + class Topic : public messages::Topic { public: @@ -69,6 +77,14 @@ class SVSJoin : public messages::SVSJoin void Send(const MessageSource &source, User *u, const Anope::string &chan, const Anope::string &key) override; }; +class SVSLogin : public messages::SVSLogin +{ + public: + using messages::SVSLogin::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: @@ -113,8 +129,10 @@ class Proto : public ts6::Proto class Encap : public IRCDMessage { + ServiceReference<SASL::Service> sasl; + public: - Encap(Module *creator) : IRCDMessage(creator, "ENCAP", 4) { SetFlag(IRCDMESSAGE_REQUIRE_SERVER); } + Encap(Module *creator) : IRCDMessage(creator, "ENCAP", 4) { SetFlag(IRCDMESSAGE_REQUIRE_SERVER); SetFlag(IRCDMESSAGE_SOFT_LIMIT); } void Run(MessageSource &source, const std::vector<Anope::string> ¶ms) override; }; |