diff --git a/source/manager.cpp b/source/manager.cpp index a1f8d5e..cefe427 100644 --- a/source/manager.cpp +++ b/source/manager.cpp @@ -375,7 +375,7 @@ void BotManager::MaintainBotQuota (void) if (botNumber > yb_quota.GetInt ()) RemoveRandom (); - if (yb_quota_match.GetInt () > 0) + if (humanNumber > 0 && yb_quota_match.GetInt () > 0) { int num = yb_quota_match.GetInt () * humanNumber;