summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-04-09 05:04:17 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-04-09 05:04:17 +0000
commita40c22a729adf53bd54eb3cdac9839b5d3fe2b25 (patch)
treef84305de1fe93ca6e1529bbeaf4088624577b238 /src/regchannel.cpp
parent911eeea8673953739a559683434d269d3b365584 (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.cpp6
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)