summaryrefslogtreecommitdiff
path: root/include/modules/ircv3_replies.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules/ircv3_replies.h')
-rw-r--r--include/modules/ircv3_replies.h12
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
{