aboutsummaryrefslogtreecommitdiffstats
path: root/core/offlinemanager.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-15 05:33:14 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-15 05:33:14 +0500
commitfc57c3a09a9ca234f45bb3a1e9b3d8fd8d48d2e0 (patch)
treebd20bed51780e0ca5a0a12046c10ac1d0fae691b /core/offlinemanager.lua
parent22df06d27db30cae5c7d3361a4fe51ab9a89dcbc (diff)
downloadprosody-fc57c3a09a9ca234f45bb3a1e9b3d8fd8d48d2e0.tar.gz
prosody-fc57c3a09a9ca234f45bb3a1e9b3d8fd8d48d2e0.zip
Some bugs fixed
Diffstat (limited to 'core/offlinemanager.lua')
-rw-r--r--core/offlinemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/offlinemanager.lua b/core/offlinemanager.lua
index 283de5e3..e71da446 100644
--- a/core/offlinemanager.lua
+++ b/core/offlinemanager.lua
@@ -16,7 +16,7 @@ function load(node, host)
local data = datamanager.list_load(node, host, "offline");
if not data then return; end
for k, v in ipairs(data) do
- stanza = st.deserialize(v);
+ local stanza = st.deserialize(v);
stanza:tag("delay", {xmlns = "urn:xmpp:delay", from = host, stamp = stanza.attr.stamp}):up(); -- XEP-0203
stanza:tag("x", {xmlns = "jabber:x:delay", from = host, stamp = stanza.attr.stamp_legacy}):up(); -- XEP-0091 (deprecated)
stanza.attr.stamp, stanza.attr.stamp_legacy = nil, nil;