From 875aa2d98d1eb25f4932fbd2ac5c2086d16ff6ea Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 19 Jul 2019 12:11:36 +0100 Subject: spanningtree: Never send a message to a raw UUID in CmdBuilder. --- src/modules/m_spanningtree/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/utils.h') diff --git a/src/modules/m_spanningtree/utils.h b/src/modules/m_spanningtree/utils.h index c6f5822fe..bb189cb5e 100644 --- a/src/modules/m_spanningtree/utils.h +++ b/src/modules/m_spanningtree/utils.h @@ -172,7 +172,7 @@ class SpanningTreeUtilities : public classbase /** Sends a PRIVMSG or a NOTICE to a channel obeying an exempt list and an optional prefix */ - void SendChannelMessage(const std::string& prefix, Channel* target, const std::string& text, char status, const ClientProtocol::TagMap& tags, const CUList& exempt_list, const char* message_type, TreeSocket* omit = NULL); + void SendChannelMessage(User* source, Channel* target, const std::string& text, char status, const ClientProtocol::TagMap& tags, const CUList& exempt_list, const char* message_type, TreeSocket* omit = NULL); }; inline void SpanningTreeUtilities::DoOneToMany(const CmdBuilder& params) -- cgit v1.3.1-10-gc9f91