aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/modulemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index e0d5ce9b..ea2aeec6 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -231,7 +231,7 @@ function handle_stanza(host, origin, stanza)
if stanza.attr.type ~= "error" and stanza.attr.type ~= "result" then
origin.send(st.error_reply(stanza, "cancel", "service-unavailable"));
end
- else
+ elseif not(name == "features" and xmlns == "http://etherx.jabber.org/streams") then -- FIXME remove check once we handle S2S features
origin:close("unsupported-stanza-type");
end
end