diff mod_carbons/mod_carbons.lua @ 1865:db8b256f51ff

mod_admin_web,mod_carbons,mod_csi_compat,mod_mam_muc,mod_tcpproxy: Explicitly return true
author Kim Alvefur <zash@zash.se>
date Mon, 21 Sep 2015 20:03:08 +0200
parents 91c01ef82807
children ad7f87bd30c8
line wrap: on
line diff
--- a/mod_carbons/mod_carbons.lua	Sat Sep 19 16:51:16 2015 +0200
+++ b/mod_carbons/mod_carbons.lua	Mon Sep 21 20:03:08 2015 +0200
@@ -16,7 +16,8 @@
 	local state = stanza.tags[1].attr.mode or stanza.tags[1].name;
 	module:log("debug", "%s %sd carbons", origin.full_jid, state);
 	origin.want_carbons = state == "enable" and stanza.tags[1].attr.xmlns;
-	return origin.send(st.reply(stanza));
+	origin.send(st.reply(stanza));
+	return true;
 end
 module:hook("iq-set/self/"..xmlns_carbons..":disable", toggle_carbons);
 module:hook("iq-set/self/"..xmlns_carbons..":enable", toggle_carbons);