From 4e638d3c1adc060739e72368206b045c04c8cd64 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Mon, 29 Jun 2009 13:15:46 +0500 Subject: stanza_router: Removed unnecessary xmlns check --- core/stanza_router.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/stanza_router.lua b/core/stanza_router.lua index 8285e667..d3bd2445 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -151,7 +151,7 @@ function core_post_stanza(origin, stanza) 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 -- cgit v1.2.3