mirror of
https://github.com/anope/anope.git
synced 2026-06-28 05:36:38 +02:00
Rename ChanUserContainer to Membership.
This commit is contained in:
@@ -72,16 +72,16 @@ public:
|
||||
/* If the user is internally on the channel with flags, kill them so that
|
||||
* the stacker will allow this.
|
||||
*/
|
||||
ChanUserContainer *uc = c->FindUser(user);
|
||||
if (uc != NULL)
|
||||
uc->status.Clear();
|
||||
auto *memb = c->FindUser(user);
|
||||
if (memb != NULL)
|
||||
memb->status.Clear();
|
||||
|
||||
BotInfo *setter = BotInfo::Find(user->GetUID());
|
||||
for (auto mode : cs.Modes())
|
||||
c->SetMode(setter, ModeManager::FindChannelModeByChar(mode), user->GetUID(), false);
|
||||
|
||||
if (uc != NULL)
|
||||
uc->status = cs;
|
||||
if (memb != NULL)
|
||||
memb->status = cs;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user