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