From abc5d52f1369dd9cb9aeb12d04a233f427c37186 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 11 Jan 2023 00:45:36 +0000 Subject: Const correct various functions. --- 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 69f0d9f40..1887fbfa1 100644 --- a/src/modules/m_spanningtree/utils.h +++ b/src/modules/m_spanningtree/utils.h @@ -172,7 +172,7 @@ public: /** Sends a PRIVMSG or a NOTICE to a channel obeying an exempt list and an optional prefix */ - void SendChannelMessage(const User* source, const Channel* target, const std::string& text, char status, const ClientProtocol::TagMap& tags, const CUList& exempt_list, const char* message_type, const TreeSocket* omit = nullptr); + void SendChannelMessage(const User* source, const Channel* target, const std::string& text, char status, const ClientProtocol::TagMap& tags, const CUList& exempt_list, const char* message_type, const TreeSocket* omit = nullptr) const; // Builds link data to be sent to another server. static std::string BuildLinkString(uint16_t protocol, Module* mod); -- cgit v1.3.1-10-gc9f91