diff options
author | Sadie Powell <sadie@witchery.services> | 2020-02-14 03:46:54 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-04-13 18:36:21 +0100 |
commit | 31897d26f2ae1f0fc794a5af512dd4e81053611b (patch) | |
tree | 6e091681554107858c75e0199843bd08cd26b8f7 /include/modules/ircv3_replies.h | |
parent | 256be7abde8c4f882c1fb491d485e4ce2f6985c9 (diff) |
Add the inspircd.org/standard-replies capability.
Diffstat (limited to 'include/modules/ircv3_replies.h')
-rw-r--r-- | include/modules/ircv3_replies.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/modules/ircv3_replies.h b/include/modules/ircv3_replies.h index 517546e46..3ff462ad7 100644 --- a/include/modules/ircv3_replies.h +++ b/include/modules/ircv3_replies.h @@ -25,6 +25,7 @@ namespace IRCv3 { namespace Replies { + class CapReference; class Reply; class Fail; class Note; @@ -32,6 +33,17 @@ namespace IRCv3 } } +/** Reference to the inspircd.org/standard-replies cap. */ +class IRCv3::Replies::CapReference + : public Cap::Reference +{ + public: + CapReference(Module* mod) + : Cap::Reference(mod, "inspircd.org/standard-replies") + { + } +}; + /** Base class for standard replies. */ class IRCv3::Replies::Reply { |