# HG changeset patch # User Waqas Hussain # Date 1241539989 -18000 # Node ID f6dc334d9836c5edfd17783fec9c8da2d9324081 # Parent ad7c1cefb8ebd93eff5a5c03216724e979de2fd8 tools/ejabberd2prosody: Fixed private storage export diff -r ad7c1cefb8eb -r f6dc334d9836 tools/ejabberd2prosody.lua --- a/tools/ejabberd2prosody.lua Tue May 05 16:41:17 2009 +0100 +++ b/tools/ejabberd2prosody.lua Tue May 05 21:13:09 2009 +0500 @@ -61,7 +61,7 @@ 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