aboutsummaryrefslogtreecommitdiffstats
path: root/util/serialization.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-05-06 21:45:25 +0100
committerMatthew Wild <mwild1@gmail.com>2009-05-06 21:45:25 +0100
commit2b7399b4f364e481e5f0192e7fde34345eb1838e (patch)
tree9d21851f2de0261972716635a65041d8bfdc83d1 /util/serialization.lua
parentcdb7f7a610ebf2dd4257a156850731b0b9764b2e (diff)
parent95040378fd0373e8e17cddff42b7017d120b78c2 (diff)
downloadprosody-2b7399b4f364e481e5f0192e7fde34345eb1838e.tar.gz
prosody-2b7399b4f364e481e5f0192e7fde34345eb1838e.zip
Merge with 0.4
Diffstat (limited to 'util/serialization.lua')
-rw-r--r--util/serialization.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/serialization.lua b/util/serialization.lua
index 41d963e9..4da811ae 100644
--- a/util/serialization.lua
+++ b/util/serialization.lua
@@ -52,7 +52,8 @@ local function _simplesave(o, ind, t, func)
elseif type(o) == "boolean" then
func(t, (o and "true" or "false"));
else
- log("warn", "cannot serialize a %s: %s", type(o), debug_traceback())
+ log("error", "cannot serialize a %s: %s", type(o), debug_traceback())
+ func(t, "nil,\n");
end
end