# HG changeset patch # User Robert Hoelz # Date 1291919913 21600 # Node ID 1c387a4c3e287d3f0346082f398c62c555265d5b # Parent 1bd93c6ac3bd8cb9ea589d290baa6c00babe0da3 mod_offline: Make sure mod_offline's store handler reports success vs failure. diff -r 1bd93c6ac3bd -r 1c387a4c3e28 plugins/mod_offline.lua --- a/plugins/mod_offline.lua Thu Dec 09 12:36:29 2010 -0600 +++ b/plugins/mod_offline.lua Thu Dec 09 12:38:33 2010 -0600 @@ -29,7 +29,7 @@ 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)