Diff

core/stanza_router.lua @ 360:e918c979ad1a

Remove or comment useless prints, or change them to log()
author Matthew Wild <mwild1@gmail.com>
date Thu, 20 Nov 2008 03:00:43 +0000
parent 358:ffb1a720f5ae
child 372:e7c1e30d06d5
line wrap: on
line diff
--- a/core/stanza_router.lua	Thu Nov 20 02:59:40 2008 +0000
+++ b/core/stanza_router.lua	Thu Nov 20 03:00:43 2008 +0000
@@ -300,8 +300,6 @@
 	elseif origin.type == "component" or origin.type == "local" then
 		-- Route via s2s for components and modules
 		log("debug", "Routing outgoing stanza for %s to %s", origin.host, host);
-		for k,v in pairs(origin) do print("origin:", tostring(k), tostring(v)); end
-		print(tostring(host), tostring(from_host))
 		send_s2s(origin.host, host, stanza);
 	else
 		log("warn", "received stanza from unhandled connection type: %s", origin.type);