aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-06-29 13:15:46 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-06-29 13:15:46 +0500
commit4e638d3c1adc060739e72368206b045c04c8cd64 (patch)
tree1be69e0f1f5d405008f79cf7baff460c1ae5cfcb /core/stanza_router.lua
parent0d54b3f88f03b0c89467ca10ba96fdf0344ee72d (diff)
downloadprosody-4e638d3c1adc060739e72368206b045c04c8cd64.tar.gz
prosody-4e638d3c1adc060739e72368206b045c04c8cd64.zip
stanza_router: Removed unnecessary xmlns check
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r--core/stanza_router.lua2
1 files changed, 1 insertions, 1 deletions
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