mod_s2s: Queuing a stanza constitutes handling it.
--- 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());