mirror of
https://github.com/anope/anope.git
synced 2026-06-27 14:26:38 +02:00
Delete users and channels from the modestacker when they are destructed
This commit is contained in:
@@ -47,6 +47,8 @@ Channel::~Channel()
|
||||
{
|
||||
FOREACH_MOD(I_OnChannelDelete, OnChannelDelete(this));
|
||||
|
||||
ModeManager::StackerDel(this);
|
||||
|
||||
Log(NULL, this, "destroy");
|
||||
|
||||
for (std::list<BanData *>::iterator it = this->bd.begin(), it_end = this->bd.end(); it != it_end; ++it)
|
||||
|
||||
Reference in New Issue
Block a user