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/bots.cpp | |
parent | d9c18a6072521bb44418830d2ba1cda14389af20 (diff) |
Fix setting modes on botserv bots in channels that have other bots in them on startup
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index a81332ad6..4b47b1cc5 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -147,7 +147,7 @@ void BotInfo::Assign(User *u, ChannelInfo *ci) ci->bi->UnAssign(u, ci); ci->bi = this; - if (ci->c && ci->c->users.size() >= Config->BSMinUsers) + if (Me->IsSynced() && ci->c && ci->c->users.size() >= Config->BSMinUsers) this->Join(ci->c, &ModeManager::DefaultBotModes); } |