summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.h
diff options
context:
space:
mode:
authorlinuxdaemon <linuxdaemon@snoonet.org>2019-06-22 09:10:32 -0500
committerPeter Powell <petpow@saberuk.com>2019-06-22 16:08:21 +0100
commit8f94fcc856dd492c6ecd5d1ebd1acdb7e59cbbe2 (patch)
tree945d62610c9114885e7062dcee7f5fb79db9af12 /src/modules/m_spanningtree/main.h
parent5b152cfcd993119c0d0ef87b73b3b0f20c940cdc (diff)
Fix msgid inconsistencies with TAGMSG
Also fixes accidentally copying incoming tags on TAGMSG when sending to other users
Diffstat (limited to 'src/modules/m_spanningtree/main.h')
-rw-r--r--src/modules/m_spanningtree/main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h
index 1186f072c..9a9d4733d 100644
--- a/src/modules/m_spanningtree/main.h
+++ b/src/modules/m_spanningtree/main.h
@@ -28,6 +28,7 @@
#include "modules/dns.h"
#include "modules/ssl.h"
#include "modules/stats.h"
+#include "modules/ctctags.h"
#include "servercommand.h"
#include "commands.h"
#include "protocolinterface.h"
@@ -72,6 +73,7 @@ class ModuleSpanningTree
: public Module
, public Away::EventListener
, public Stats::EventListener
+ , public CTCTags::EventListener
{
/** Client to server commands, registered in the core
*/
@@ -169,6 +171,7 @@ class ModuleSpanningTree
ModResult OnPreTopicChange(User* user, Channel* chan, const std::string& topic) CXX11_OVERRIDE;
void OnPostTopicChange(User* user, Channel* chan, const std::string &topic) CXX11_OVERRIDE;
void OnUserPostMessage(User* user, const MessageTarget& target, const MessageDetails& details) CXX11_OVERRIDE;
+ void OnUserPostTagMessage(User* user, const MessageTarget& target, const CTCTags::TagMessageDetails& details) CXX11_OVERRIDE;
void OnBackgroundTimer(time_t curtime) CXX11_OVERRIDE;
void OnUserJoin(Membership* memb, bool sync, bool created, CUList& excepts) CXX11_OVERRIDE;
void OnChangeHost(User* user, const std::string &newhost) CXX11_OVERRIDE;