Changeset

4630:9502c0224caf

mod_s2s: Queuing a stanza constitutes handling it.
author Paul Aurich <paul@darkrain42.org>
date Mon, 26 Mar 2012 19:17:09 -0700
parents 4629:bdafc3e729db
children 4631:fc5d3b053454
files plugins/s2s/mod_s2s.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/s2s/mod_s2s.lua	Mon Mar 26 18:23:49 2012 +0200
+++ b/plugins/s2s/mod_s2s.lua	Mon Mar 26 19:17:09 2012 -0700
@@ -76,6 +76,7 @@
 			if host.sendq then t_insert(host.sendq, {tostring(stanza), stanza.attr.type ~= "error" and stanza.attr.type ~= "result" and st.reply(stanza)});
 			else host.sendq = { {tostring(stanza), stanza.attr.type ~= "error" and stanza.attr.type ~= "result" and st.reply(stanza)} }; end
 			host.log("debug", "stanza [%s] queued ", stanza.name);
+			return true;
 		elseif host.type == "local" or host.type == "component" then
 			log("error", "Trying to send a stanza to ourselves??")
 			log("error", "Traceback: %s", get_traceback());