diff options
author | Peter Powell <petpow@saberuk.com> | 2019-03-30 15:48:33 +0000 |
---|---|---|
committer | P. Powell <petpow@saberuk.com> | 2019-09-23 13:20:07 +0100 |
commit | e43bc49ba73840af183b70a1069c9b50ba72eb59 (patch) | |
tree | f07ce3349064eedaf45c9c259eeee8a908441452 /src/protocol.cpp | |
parent | d9de4ddd8295a4917b0b0b8260fc647b55ced683 (diff) |
Update the core message parser to allow parsing IRCv3 message tags.
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index 3daa9f136..dd2595992 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -502,3 +502,10 @@ unsigned IRCDMessage::GetParamCount() const { return this->param_count; } + +void IRCDMessage::Run(MessageSource &source, const std::vector<Anope::string> ¶ms, const Anope::map<Anope::string> &tags) +{ + // Most IRCds don't support message tags yet so use the tagless variant. + Run(source, params); +} + |