aboutsummaryrefslogtreecommitdiff
path: root/modules/spanningtree/utils.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-26 22:52:31 +0000
committerGravatar Sadie Powell2026-03-26 22:52:31 +0000
commit5c9b23907a3cbffdcf940582afa2e9805f99e1a8 (patch)
tree9a33e7d4cf781ae94966985560a5be40d95ef6be /modules/spanningtree/utils.cpp
parentSwitch typedefs to using statements. (diff)
Move CUList to be declared inside User.
Diffstat (limited to 'modules/spanningtree/utils.cpp')
-rw-r--r--modules/spanningtree/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/spanningtree/utils.cpp b/modules/spanningtree/utils.cpp
index c4eb8414e..ed18b7597 100644
--- a/modules/spanningtree/utils.cpp
+++ b/modules/spanningtree/utils.cpp
@@ -137,7 +137,7 @@ SpanningTreeUtilities::~SpanningTreeUtilities()
}
// Returns a list of DIRECT servers for a specific channel
-void SpanningTreeUtilities::GetListOfServersForChannel(const Channel* c, TreeSocketSet& list, char status, const CUList& exempt_list) const
+void SpanningTreeUtilities::GetListOfServersForChannel(const Channel* c, TreeSocketSet& list, char status, const User::List& exempt_list) const
{
ModeHandler::Rank minrank = 0;
if (status)
@@ -367,7 +367,7 @@ std::shared_ptr<Link> SpanningTreeUtilities::FindLink(const std::string& name)
return nullptr;
}
-void SpanningTreeUtilities::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) const
+void SpanningTreeUtilities::SendChannelMessage(const User* source, const Channel* target, const std::string& text, char status, const ClientProtocol::TagMap& tags, const User::List& exempt_list, const char* message_type, const TreeSocket* omit) const
{
MessageBuilder msg(source, message_type);
if (status)