aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-05-30 13:30:32 +0200
committerKim Alvefur <zash@zash.se>2016-05-30 13:30:32 +0200
commit9dc461298ae6f44f8e0072c7f6580b87aa672272 (patch)
tree489aabee56ef272a5d320a390fe5c0f8190d48ee /plugins
parent2d8b98ebaf28aef50b6d7162243a447f1b28da9c (diff)
downloadprosody-9dc461298ae6f44f8e0072c7f6580b87aa672272.tar.gz
prosody-9dc461298ae6f44f8e0072c7f6580b87aa672272.zip
mod_s2s: Remove compat with namespace issue from Prosody pre-0.6.2
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index 16320ad1..f05e2a95 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -434,9 +434,6 @@ end
local function handleerr(err) log("error", "Traceback[s2s]: %s", traceback(tostring(err), 2)); end
function stream_callbacks.handlestanza(session, stanza)
- if stanza.attr.xmlns == "jabber:client" then --COMPAT: Prosody pre-0.6.2 may send jabber:client
- stanza.attr.xmlns = nil;
- end
stanza = session.filter("stanzas/in", stanza);
if stanza then
return xpcall(function () return core_process_stanza(session, stanza) end, handleerr);