aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRobert Hoelz <rob@hoelz.ro>2010-12-09 12:38:33 -0600
committerRobert Hoelz <rob@hoelz.ro>2010-12-09 12:38:33 -0600
commitd4d1388349098ec125e84b0f877ae999d75f6e22 (patch)
tree33100f79b2437d4bb5bb54a3eaa495f2ef48522f /plugins
parent5211c741efc2070ad7fa1bdad132fd7b6423ce53 (diff)
downloadprosody-d4d1388349098ec125e84b0f877ae999d75f6e22.tar.gz
prosody-d4d1388349098ec125e84b0f877ae999d75f6e22.zip
mod_offline: Make sure mod_offline's store handler reports success vs failure.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_offline.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_offline.lua b/plugins/mod_offline.lua
index f44d16af..d1370b41 100644
--- a/plugins/mod_offline.lua
+++ b/plugins/mod_offline.lua
@@ -29,7 +29,7 @@ module:hook("message/offline/store", function(event)
local result = datamanager.list_append(node, host, "offline", st.preserialize(stanza));
stanza.attr.stamp, stanza.attr.stamp_legacy = nil, nil;
- return true;
+ return result;
end);
module:hook("message/offline/broadcast", function(event)