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
commit3ac96f5c347b78d1e1ac8a21c8667a08860c668b (patch)
tree3652a0a24958c8d48969d2d657be180e6d3e2726 /plugins
parente448dd997f86e2883412bafa88e0811155719bf8 (diff)
downloadprosody-3ac96f5c347b78d1e1ac8a21c8667a08860c668b.tar.gz
prosody-3ac96f5c347b78d1e1ac8a21c8667a08860c668b.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)