aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-10-09 03:01:47 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-10-09 03:01:47 +0500
commit042012b7295c432f17e8e603372f46c3bb660eba (patch)
treef0e8811dc246c534c5b47e88fe456057f74438f2 /util/datamanager.lua
parent48750cfc608b1ec22f42f18fe607c6f10e945218 (diff)
parentd90bbc62934a3c2580242baaf9978094e7064277 (diff)
downloadprosody-042012b7295c432f17e8e603372f46c3bb660eba.tar.gz
prosody-042012b7295c432f17e8e603372f46c3bb660eba.zip
Merge from Matthew. datamanager.simplesave fix
Diffstat (limited to 'util/datamanager.lua')
-rw-r--r--util/datamanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index adc320a9..2f5be002 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -43,7 +43,7 @@ local function simplesave (f, o)
elseif type(o) == "table" then
f:write("{\n")
for k,v in pairs(o) do
- f:write(" [", format("%q", k), "] = ")
+ f:write(" [", basicSerialize(k), "] = ")
simplesave(f, v)
f:write(",\n")
end