diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-09 05:04:17 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-09 05:04:17 +0000 |
| commit | a40c22a729adf53bd54eb3cdac9839b5d3fe2b25 (patch) | |
| tree | f84305de1fe93ca6e1529bbeaf4088624577b238 /src/regchannel.cpp | |
| parent | 911eeea8673953739a559683434d269d3b365584 (diff) | |
Made the mode stacker never send a mode change for something that is already (un)set, and set -r when dropping channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2868 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/regchannel.cpp')
| -rw-r--r-- | src/regchannel.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index 1925baf77..0efb7d676 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -74,12 +74,6 @@ ChannelInfo::~ChannelInfo() FOREACH_MOD(I_OnDelChan, OnDelChan(this)); - if (this->c && this->c->HasMode(CMODE_PERM)) - { - this->c->RemoveMode(NULL, CMODE_PERM); - ircdproto->SendMode(whosends(this), this->c, "-%c", ModeManager::FindChannelModeByName(CMODE_PERM)->ModeChar); - } - Alog(LOG_DEBUG) << "Deleting channel " << this->name; if (this->bi) |
