aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_botmode.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-03-18 13:51:23 +0000
committerGravatar Sadie Powell2020-03-18 13:51:23 +0000
commitb9acde9aaf0ddae8b821b21821724adcdbea9359 (patch)
tree7c76b8988dd9e31596ae2b114b15a762561e063d /src/modules/m_botmode.cpp
parentRemove support for 0/1 in getBool. (diff)
parentAllow commands to override ERR_{NEEDSMOREPARAMS,NOTREGISTERED}. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_botmode.cpp')
-rw-r--r--src/modules/m_botmode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp
index 73f4a1f50..6fc2ddde3 100644
--- a/src/modules/m_botmode.cpp
+++ b/src/modules/m_botmode.cpp
@@ -24,7 +24,7 @@
#include "inspircd.h"
-#include "modules/cap.h"
+#include "modules/ctctags.h"
#include "modules/whois.h"
enum
@@ -37,13 +37,13 @@ class BotTag : public ClientProtocol::MessageTagProvider
{
private:
SimpleUserModeHandler& botmode;
- Cap::Reference ctctagcap;
+ CTCTags::CapReference ctctagcap;
public:
BotTag(Module* mod, SimpleUserModeHandler& bm)
: ClientProtocol::MessageTagProvider(mod)
, botmode(bm)
- , ctctagcap(mod, "message-tags")
+ , ctctagcap(mod)
{
}