1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 12:53:13 +02:00

Rename ChanUserContainer to Membership.

This commit is contained in:
Sadie Powell
2026-01-14 17:17:37 +00:00
parent 3af9da7c05
commit 792308ed5d
23 changed files with 124 additions and 118 deletions
+3 -3
View File
@@ -382,10 +382,10 @@ Conf::Conf() : Block("")
c->botchannel = true;
/* Remove all existing modes */
ChanUserContainer *cu = c->FindUser(bi);
if (cu != NULL)
auto *memb = c->FindUser(bi);
if (memb != NULL)
{
for (auto mode : cu->status.Modes())
for (auto mode : memb->status.Modes())
c->RemoveMode(bi, ModeManager::FindChannelModeByChar(mode), bi->GetUID());
}
/* Set the new modes */