diff options
author | Sadie Powell <sadie@witchery.services> | 2021-06-04 01:58:33 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-06-04 02:03:52 +0100 |
commit | 722c63ad53dea99829cf010786354e21016aadef (patch) | |
tree | fef353397be82e774f387ca15db407a13b16d65b /src/modules/m_spanningtree/utils.h | |
parent | 8ef5c350f08aed38b2d64f8770298baf74f03afe (diff) |
Broadcast the limits for list modes on server link.
This allows services to not overflow the limit.
Diffstat (limited to 'src/modules/m_spanningtree/utils.h')
-rw-r--r-- | src/modules/m_spanningtree/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/utils.h b/src/modules/m_spanningtree/utils.h index 26e6e7c22..262c285ef 100644 --- a/src/modules/m_spanningtree/utils.h +++ b/src/modules/m_spanningtree/utils.h @@ -176,6 +176,9 @@ class SpanningTreeUtilities : public classbase /** Sends a PRIVMSG or a NOTICE to a channel obeying an exempt list and an optional prefix */ 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); + + /** Send the channel list mode limits to either the specified server or all servers if NULL. */ + void SendListLimits(Channel* chan, TreeSocket* sock = NULL); }; inline void SpanningTreeUtilities::DoOneToMany(const CmdBuilder& params) |