aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/datamanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index 13aed78f..1993d6a3 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -234,7 +234,7 @@ local function list_append(username, host, datastore, data)
if callback(username, host, datastore) == false then return true; end
-- save the datastore
- local data = "item(" .. serialize(data) .. ");\n";
+ data = "item(" .. serialize(data) .. ");\n";
local ok, msg = append(username, host, datastore, "list", data);
if not ok then
log("error", "Unable to write to %s storage ('%s') for user: %s@%s", datastore, msg, username or "nil", host or "nil");