summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-03-11 19:51:26 +0000
committerSadie Powell <sadie@witchery.services>2020-03-12 05:23:04 +0000
commit906e44f687185f6507cba95ec1b565de4936eb03 (patch)
treecd650ba858d644c2f650bfc3d3a34385c06d74cf /src/modules/m_spanningtree
parent1a7b4bac42c0c0f4dc9d0081c462d62f193e0da8 (diff)
Add a CapReference class for the message-tags capability.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/tags.cpp2
-rw-r--r--src/modules/m_spanningtree/tags.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/tags.cpp b/src/modules/m_spanningtree/tags.cpp
index feaa34bca..7ae26d45b 100644
--- a/src/modules/m_spanningtree/tags.cpp
+++ b/src/modules/m_spanningtree/tags.cpp
@@ -21,7 +21,7 @@
ServiceTag::ServiceTag(Module* mod)
: ClientProtocol::MessageTagProvider(mod)
- , ctctagcap(mod, "message-tags")
+ , ctctagcap(mod)
{
}
diff --git a/src/modules/m_spanningtree/tags.h b/src/modules/m_spanningtree/tags.h
index d8d863a45..a52ee6ef8 100644
--- a/src/modules/m_spanningtree/tags.h
+++ b/src/modules/m_spanningtree/tags.h
@@ -19,12 +19,12 @@
#pragma once
-#include "modules/cap.h"
+#include "modules/ctctags.h"
class ServiceTag : public ClientProtocol::MessageTagProvider
{
private:
- Cap::Reference ctctagcap;
+ CTCTags::CapReference ctctagcap;
public:
ServiceTag(Module* mod);