aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/utils.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-11 00:45:36 +0000
committerGravatar Sadie Powell2023-01-11 00:56:15 +0000
commitabc5d52f1369dd9cb9aeb12d04a233f427c37186 (patch)
treeb238133e06bac79c1b9ed66964bcd67f7ee1e725 /src/modules/m_spanningtree/utils.h
parentMake some functions that don't use `this` static. (diff)
Const correct various functions.
Diffstat (limited to 'src/modules/m_spanningtree/utils.h')
-rw-r--r--src/modules/m_spanningtree/utils.h2
1 files changed, 1 insertions, 1 deletions
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);