1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 17:46:39 +02:00

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
This commit is contained in:
Adam-
2010-04-09 05:04:17 +00:00
parent 911eeea867
commit a40c22a729
3 changed files with 17 additions and 34 deletions
-6
View File
@@ -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)