Diff

core/componentmanager.lua @ 1168:dd523bfc9ea9

Dropped support for resource based components
author Waqas Hussain <waqas20@gmail.com>
date Sat, 16 May 2009 02:07:27 +0500
parent 1100:05d209ef9661
child 1177:97ecfcec2d71
line wrap: on
line diff
--- a/core/componentmanager.lua	Sat May 16 01:41:45 2009 +0500
+++ b/core/componentmanager.lua	Sat May 16 02:07:27 2009 +0500
@@ -67,7 +67,6 @@
 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