Software /
code /
prosody
Diff
util/datamanager.lua @ 87:059ef1c30844
Merge from Matthew. datamanager.simplesave fix
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 09 Oct 2008 03:01:47 +0500 |
parent | 84:d0a0bac6815e |
parent | 82:cbf387f29d56 |
child | 88:023320150c65 |
line wrap: on
line diff
--- a/util/datamanager.lua Thu Oct 09 02:59:57 2008 +0500 +++ b/util/datamanager.lua Thu Oct 09 03:01:47 2008 +0500 @@ -43,7 +43,7 @@ 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