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:
+3
-3
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user