diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-17 18:12:26 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-17 18:12:26 +0000 |
commit | f9c4baf8fc5b61f9dfce5d78d9d86c70ecd6beb8 (patch) | |
tree | 14fd1a96b85eca859486ea87c08dac45ab867818 | |
parent | a0ff4cfed5184c9d025b31b4cc76a0e89cd4b862 (diff) |
Free access and badwords list when channels are deleted
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2964 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | src/regchannel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index d53f496a2..9d2e6b7a6 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -106,7 +106,9 @@ ChannelInfo::~ChannelInfo() delete [] this->forbidby; if (this->forbidreason) delete [] this->forbidreason; + this->ClearAccess(); this->ClearAkick(); + this->ClearBadWords(); if (this->levels) delete [] this->levels; |