diff options
| author | Zoddo <zoddo.ino@gmail.com> | 2016-10-06 12:18:27 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2016-10-06 12:18:27 -0400 |
| commit | 83f19e597f9c8c678ad6c69697491842554b38d6 (patch) | |
| tree | b1f95ef35c1a0df96c13930c158c33eb4970a76a /include/modules/protocol | |
| parent | d82f54d5ef3011dfaa74000256cff68c62bb3412 (diff) | |
Handle /join 0 for ratbox & charybdis
Diffstat (limited to 'include/modules/protocol')
| -rw-r--r-- | include/modules/protocol/ratbox.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/modules/protocol/ratbox.h b/include/modules/protocol/ratbox.h index d2661a41f..d5101321a 100644 --- a/include/modules/protocol/ratbox.h +++ b/include/modules/protocol/ratbox.h @@ -31,6 +31,14 @@ class Encap : public IRCDMessage void Run(MessageSource &source, const std::vector<Anope::string> ¶ms) override; }; +class Join : public Message::Join +{ + public: + Join(Module *creator) : Message::Join(creator, "JOIN") { } + + void Run(MessageSource &source, const std::vector<Anope::string> ¶ms) override; +}; + class Server : public IRCDMessage { public: @@ -55,4 +63,4 @@ class UID : public IRCDMessage void Run(MessageSource &source, const std::vector<Anope::string> ¶ms) override; }; -} // namespace ratbox
\ No newline at end of file +} // namespace ratbox |
