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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user