plugins/mod_s2s/mod_s2s.lua
changeset 4822 5ef05f32bc42
parent 4820 c65edd3bb334
child 4834 878f75ccc4fb
--- a/plugins/mod_s2s/mod_s2s.lua	Fri May 04 02:28:10 2012 +0100
+++ b/plugins/mod_s2s/mod_s2s.lua	Thu May 10 22:59:01 2012 +0100
@@ -253,11 +253,6 @@
 			log("debug", "Sending stream features: %s", tostring(features));
 			send(features);
 		end
-		
-		local host_session = hosts[to];
-		session.send = function(stanza)
-			host_session.events.fire_event("route/remote", { from_host = to, to_host = from, stanza = stanza})
-		end;
 	elseif session.direction == "outgoing" then
 		-- If we are just using the connection for verifying dialback keys, we won't try and auth it
 		if not attr.id then error("stream response did not give us a streamid!!!"); end