summaryrefslogtreecommitdiff
path: root/modules/commands/cs_set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_set.cpp')
-rw-r--r--modules/commands/cs_set.cpp3
1 files changed, 2 insertions, 1 deletions
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)
{