Software /
code /
prosody
Changeset
4039:1c387a4c3e28
mod_offline: Make sure mod_offline's store handler reports success vs failure.
author | Robert Hoelz <rob@hoelz.ro> |
---|---|
date | Thu, 09 Dec 2010 12:38:33 -0600 |
parents | 4038:1bd93c6ac3bd |
children | 4040:898399fd8da1 |
files | plugins/mod_offline.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)