From d097fa5bf92373df1de2270c26491f983cd76137 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sat, 16 May 2009 02:07:27 +0500 Subject: Dropped support for resource based components --- core/componentmanager.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'core/componentmanager.lua') diff --git a/core/componentmanager.lua b/core/componentmanager.lua index d76b7849..d2a8d9f6 100644 --- a/core/componentmanager.lua +++ b/core/componentmanager.lua @@ -67,7 +67,6 @@ eventmanager.add_event_hook("server-starting", load_enabled_components); function handle_stanza(origin, stanza) local node, host = jid_split(stanza.attr.to); local component = nil; - if not component then component = components[stanza.attr.to]; end -- hack to allow hooking node@server/resource and server/resource if not component then component = components[node.."@"..host]; end -- hack to allow hooking node@server if not component then component = components[host]; end if component then -- cgit v1.2.3