mirror of
https://github.com/anope/anope.git
synced 2026-06-29 16:36:38 +02:00
Fix setting modes on botserv bots in channels that have other bots in them on startup
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user