1
0
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:
Adam
2010-11-14 17:34:17 -05:00
parent 4415a779a3
commit 4f8dfc2132
4 changed files with 25 additions and 1 deletions
+2
View File
@@ -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)