1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 07:56:39 +02:00

Fix setting modes on botserv bots in channels that have other bots in them on startup

This commit is contained in:
Adam
2013-02-15 23:18:34 -05:00
parent d9c18a6072
commit 7be23b7e37
4 changed files with 13 additions and 3 deletions
+3
View File
@@ -599,6 +599,9 @@ void ModeManager::UpdateDefaultMLock(ServerConfig *config)
if (cm && cm->type == MODE_STATUS)
DefaultBotModes.modes.insert(cm->name);
else
/* We don't know the mode yet so just use the mode char */
DefaultBotModes.modes.insert(config->BotModes[i]);
}
}