From 94f781726ec14db780fdd376195ed81aa1f70464 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 11 Sep 2015 14:54:48 -0400 Subject: Don't assign bots when persist is set if we aren't synced sinec we might not know of all modes --- modules/commands/cs_set.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/commands/cs_set.cpp') diff --git a/modules/commands/cs_set.cpp b/modules/commands/cs_set.cpp index 106adf507..84541a2a9 100644 --- a/modules/commands/cs_set.cpp +++ b/modules/commands/cs_set.cpp @@ -1170,7 +1170,8 @@ class CSSet : public Module { c->SetMode(NULL, cm); } - else + /* on startup we might not know mode availibity here */ + else if (Me && Me->IsSynced()) { if (!ci->bi) { -- cgit