aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-11-10 02:51:36 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-11-10 02:51:36 +0500
commite75ae6d76d77c2337f3dadfe667ecd517dbbad36 (patch)
treeb14a9c0dafba246858b550b540f226d1b7a48d84 /core/stanza_router.lua
parent3efbb4f224e49abf6767d8a6386617fda4c2fb10 (diff)
downloadprosody-e75ae6d76d77c2337f3dadfe667ecd517dbbad36.tar.gz
prosody-e75ae6d76d77c2337f3dadfe667ecd517dbbad36.zip
componentmanager, stanza_router: Get rid of componentmanager.handle_stanza().
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r--core/stanza_router.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua
index e2610769..97d328a1 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -12,7 +12,6 @@ local hosts = _G.prosody.hosts;
local tostring = tostring;
local st = require "util.stanza";
local send_s2s = require "core.s2smanager".send_to_host;
-local component_handle_stanza = require "core.componentmanager".handle_stanza;
local jid_split = require "util.jid".split;
local jid_prepped_split = require "util.jid".prepped_split;
@@ -172,11 +171,6 @@ function core_post_stanza(origin, stanza, preevents)
if h then
if h.events.fire_event(stanza.name..to_type, event_data) then return; end -- do processing
if to_self and h.events.fire_event(stanza.name..'/self', event_data) then return; end -- do processing
-
- if h.type == "component" then
- component_handle_stanza(origin, stanza);
- return;
- end
handle_unhandled_stanza(h.host, origin, stanza);
else
core_route_stanza(origin, stanza);