core/componentmanager.lua

changeset 1168
dd523bfc9ea9
parent 1100
05d209ef9661
child 1177
97ecfcec2d71
--- 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

mercurial