summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-01-03 20:48:07 +0000
committerSadie Powell <sadie@witchery.services>2020-01-03 21:01:52 +0000
commita9e8e1f03ace24e9dcb50299f8e66c5fd6b42850 (patch)
tree4396a3cf211c68b5739afa2c67ba856739dccf1f /src/modules/m_spanningtree
parent45eff275cbc942a9b16f55367e6d5bd2bbfad2e0 (diff)
Add an event provider class for the event/messagetag event.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/main.cpp2
-rw-r--r--src/modules/m_spanningtree/main.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 59d349d39..8a9bcfa66 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -51,7 +51,7 @@ ModuleSpanningTree::ModuleSpanningTree()
, sslapi(this)
, servicetag(this)
, DNS(this, "DNS")
- , tagevprov(this, "event/messagetag")
+ , tagevprov(this)
, loopCall(false)
{
}
diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h
index bc5b5d926..66c3f2214 100644
--- a/src/modules/m_spanningtree/main.h
+++ b/src/modules/m_spanningtree/main.h
@@ -117,7 +117,7 @@ class ModuleSpanningTree
dynamic_reference<DNS::Manager> DNS;
/** Event provider for message tags. */
- Events::ModuleEventProvider tagevprov;
+ ClientProtocol::MessageTagEvent tagevprov;
ServerCommandManager CmdManager;