aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/datamanager.lua')
-rw-r--r--util/datamanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index 510c0161..e57d5fdc 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -211,6 +211,7 @@ end
-- Append a blob of data to a file
local function append(username, host, datastore, ext, data)
+ if type(data) ~= "string" then return; end
local filename = getpath(username, host, datastore, ext, true);
local ok;