aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-05-05 21:13:09 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-05-05 21:13:09 +0500
commit1bb376c7864aca6334ac2af63a3d475a8f84cd7b (patch)
treeb20fb27962e27e75d30601629445bf874ff8ad4c
parentceb73bd4358e9dd286cc5757112254606dda7d54 (diff)
downloadprosody-1bb376c7864aca6334ac2af63a3d475a8f84cd7b.tar.gz
prosody-1bb376c7864aca6334ac2af63a3d475a8f84cd7b.zip
tools/ejabberd2prosody: Fixed private storage export
-rwxr-xr-xtools/ejabberd2prosody.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ejabberd2prosody.lua b/tools/ejabberd2prosody.lua
index f2ea16f9..871130f4 100755
--- a/tools/ejabberd2prosody.lua
+++ b/tools/ejabberd2prosody.lua
@@ -61,7 +61,7 @@ function roster_pending(node, host, jid)
end
function private_storage(node, host, xmlns, stanza)
local private = dm.load(node, host, "private") or {};
- private[xmlns] = st.preserialize(stanza);
+ private[stanza.name..":"..xmlns] = st.preserialize(stanza);
local ret, err = dm.store(node, host, "private", private);
print("["..(err or "success").."] private: " ..node.."@"..host.." - "..xmlns);
end