Diff

plugins/mod_carbons.lua @ 6843:161cccfdf015

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 22 Sep 2015 01:31:52 +0200
parent 6841:be87ab2d611c
child 7670:2be85cb3bc66
line wrap: on
line diff
--- a/plugins/mod_carbons.lua	Sat Sep 19 17:51:20 2015 +0200
+++ b/plugins/mod_carbons.lua	Tue Sep 22 01:31:52 2015 +0200
@@ -14,7 +14,8 @@
 	local state = 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);