From 31897d26f2ae1f0fc794a5af512dd4e81053611b Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 14 Feb 2020 03:46:54 +0000 Subject: Add the inspircd.org/standard-replies capability. --- include/modules/ircv3_replies.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include') 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 { -- cgit v1.2.3