aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-08-08 23:23:21 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-08-08 23:23:21 +0500
commitf0887b0864484aa8f920b12f7144a142fd1df0ac (patch)
tree5f6167707abf7b27dcbbd3da4b2e5e7c396f0fc8 /tools
parent0eeeba28638c90f3e924a1965283244d64161981 (diff)
downloadprosody-f0887b0864484aa8f920b12f7144a142fd1df0ac.tar.gz
prosody-f0887b0864484aa8f920b12f7144a142fd1df0ac.zip
ejabberdsql2prosody: Removed unnecessary stanza reserialization for private storage
Diffstat (limited to 'tools')
-rw-r--r--tools/ejabberdsql2prosody.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ejabberdsql2prosody.lua b/tools/ejabberdsql2prosody.lua
index c517b210..f652af5b 100644
--- a/tools/ejabberdsql2prosody.lua
+++ b/tools/ejabberdsql2prosody.lua
@@ -327,7 +327,7 @@ for i, row in ipairs(t["vcard"] or NULL) do
print("["..(err or "success").."] vCard: "..row.username.."@"..host);
end
for i, row in ipairs(t["private_storage"] or NULL) do
- private_storage(row.username, host, row.namespace, st.preserialize(parse_xml(row.data)));
+ private_storage(row.username, host, row.namespace, parse_xml(row.data));
end
table.sort(t["spool"] or NULL, function(a,b) return a.seq < b.seq; end); -- sort by sequence number, just in case
local time_offset = os.difftime(os.time(os.date("!*t")), os.time(os.date("*t"))) -- to deal with timezones