diff options
| author | 2020-03-11 19:51:26 +0000 | |
|---|---|---|
| committer | 2020-03-12 05:23:04 +0000 | |
| commit | 906e44f687185f6507cba95ec1b565de4936eb03 (patch) | |
| tree | cd650ba858d644c2f650bfc3d3a34385c06d74cf /src/modules/m_botmode.cpp | |
| parent | Improve logging for the m_ldap and m_ldapauth modules (#1757). (diff) | |
Add a CapReference class for the message-tags capability.
Diffstat (limited to 'src/modules/m_botmode.cpp')
| -rw-r--r-- | src/modules/m_botmode.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp index 91623a1fb..355ea44d4 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) { } |
