Changeset

3971:faace741d0f9

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 3970:0f9ab57a1aee
children 3972:a05cf5d9c7ab
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)