diff options
| author | 2026-03-26 22:52:31 +0000 | |
|---|---|---|
| committer | 2026-03-26 22:52:31 +0000 | |
| commit | 5c9b23907a3cbffdcf940582afa2e9805f99e1a8 (patch) | |
| tree | 9a33e7d4cf781ae94966985560a5be40d95ef6be /modules/spanningtree/main.cpp | |
| parent | Switch typedefs to using statements. (diff) | |
Move CUList to be declared inside User.
Diffstat (limited to 'modules/spanningtree/main.cpp')
| -rw-r--r-- | modules/spanningtree/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; |
