mirror of
https://github.com/anope/anope.git
synced 2026-07-09 15:43:13 +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:
+1
-1
@@ -61,7 +61,7 @@ class CommandCSDrop : public Command
|
||||
{
|
||||
if (ModeManager::FindChannelModeByName(CMODE_REGISTERED))
|
||||
{
|
||||
ci->c->RemoveMode(NULL, CMODE_REGISTERED);
|
||||
ci->c->RemoveMode(NULL, CMODE_REGISTERED, "", false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user