diff options
author | Adam <Adam@anope.org> | 2013-02-15 23:18:34 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-02-15 23:18:34 -0500 |
commit | 7be23b7e374d343f60c4b698365719a3aba7f8f2 (patch) | |
tree | 784b6545ee39861118cde78a286dcc831ced5e79 /src/modes.cpp | |
parent | d9c18a6072521bb44418830d2ba1cda14389af20 (diff) |
Fix setting modes on botserv bots in channels that have other bots in them on startup
Diffstat (limited to 'src/modes.cpp')
-rw-r--r-- | src/modes.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modes.cpp b/src/modes.cpp index e50d4affb..d8926d7e8 100644 --- a/src/modes.cpp +++ b/src/modes.cpp @@ -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]); } } |