From 5c9b23907a3cbffdcf940582afa2e9805f99e1a8 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 26 Mar 2026 22:52:31 +0000 Subject: Move CUList to be declared inside User. --- modules/spanningtree/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/spanningtree/main.cpp') diff --git a/modules/spanningtree/main.cpp b/modules/spanningtree/main.cpp index 18d816082..ea9521ffb 100644 --- a/modules/spanningtree/main.cpp +++ b/modules/spanningtree/main.cpp @@ -381,7 +381,7 @@ ModResult ModuleSpanningTree::HandleConnect(const CommandBase::Params& parameter return MOD_RES_DENY; } -void ModuleSpanningTree::OnUserInvite(User* source, User* dest, Channel* channel, time_t expiry, ModeHandler::Rank notifyrank, CUList& notifyexcepts) +void ModuleSpanningTree::OnUserInvite(User* source, User* dest, Channel* channel, time_t expiry, ModeHandler::Rank notifyrank, User::List& notifyexcepts) { if (!source->IsLocal()) return; @@ -525,7 +525,7 @@ void ModuleSpanningTree::OnUserConnect(LocalUser* user) Utils->TreeRoot->UserCount++; } -void ModuleSpanningTree::OnUserJoin(Membership* memb, bool sync, bool created_by_local, CUList& excepts) +void ModuleSpanningTree::OnUserJoin(Membership* memb, bool sync, bool created_by_local, User::List& excepts) { // Only do this for local users if (!memb->user->IsLocal()) @@ -601,7 +601,7 @@ void ModuleSpanningTree::OnChangeRealUser(User* user, const std::string& newuser .Broadcast(); } -void ModuleSpanningTree::OnUserPart(Membership* memb, std::string& partmessage, CUList& excepts) +void ModuleSpanningTree::OnUserPart(Membership* memb, std::string& partmessage, User::List& excepts) { if (!memb->user->IsLocal()) return; @@ -657,7 +657,7 @@ void ModuleSpanningTree::OnUserPostNick(User* user, const std::string& oldnick) } } -void ModuleSpanningTree::OnUserKick(User* source, Membership* memb, const std::string& reason, CUList& excepts) +void ModuleSpanningTree::OnUserKick(User* source, Membership* memb, const std::string& reason, User::List& excepts) { if ((!source->IsLocal()) && (source != ServerInstance->FakeClient)) return; -- cgit v1.3.1-10-gc9f91