# HG changeset patch # User Waqas Hussain # Date 1246263346 -18000 # Node ID 81003798864229cc7729db2ea8a6c7d53c7a6761 # Parent 19598161ae223edf6012021fe4c43c38db5fe82b stanza_router: Removed unnecessary xmlns check diff -r 19598161ae22 -r 810037988642 core/stanza_router.lua --- a/core/stanza_router.lua Mon Jun 29 13:15:09 2009 +0500 +++ b/core/stanza_router.lua Mon Jun 29 13:15:46 2009 +0500 @@ -151,7 +151,7 @@ return; end if not modules_handle_stanza(h.host, origin, stanza) then - if stanza.attr.xmlns == "jabber:client" and stanza.attr.type ~= "result" and stanza.attr.type ~= "error" then + if stanza.attr.type ~= "result" and stanza.attr.type ~= "error" then origin.send(st.error_reply(stanza, "cancel", "service-unavailable")); end end