From c983c3c4288c671168248f7006296d7340e3d38f Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Tue, 23 Feb 2016 22:58:33 +0100
Subject: [PATCH] Server: Don't save world_db entries with keys that start
 non-uppercase.

---
 server/io.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/io.py b/server/io.py
index 877e525..a79e548 100644
--- a/server/io.py
+++ b/server/io.py
@@ -184,7 +184,7 @@ def save_world():
     for key in sorted(world_db.keys()):
         if (not isinstance(world_db[key], dict) and
             not isinstance(world_db[key], list)) and key != "MAP" and \
-           key != "WORLD_ACTIVE":
+           key != "WORLD_ACTIVE" and key[0].isupper():
             string = string + key + " " + str(world_db[key]) + "\n"
     string = string + mapsetter("MAP")()
     string = string + helper("ThingActions", "TA_ID")
-- 
2.30.2