aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-20 03:00:43 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-20 03:00:43 +0000
commit5efcee9d4d5fdf372fcdf4b580ce338889ff1339 (patch)
tree654e64e54271396a70ae6009f91435afaa1ed64d /core/stanza_router.lua
parentd8a04fa9e0b5b60fcbda35c40adb8f2b18b24043 (diff)
downloadprosody-5efcee9d4d5fdf372fcdf4b580ce338889ff1339.tar.gz
prosody-5efcee9d4d5fdf372fcdf4b580ce338889ff1339.zip
Remove or comment useless prints, or change them to log()
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r--core/stanza_router.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua
index 9a638896..a3837ddd 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -300,8 +300,6 @@ function core_route_stanza(origin, stanza)
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);