Comparison

core/stanza_router.lua @ 31:aaccbf07849b

Remove now useless debug output
author Matthew Wild <mwild1@gmail.com>
date Tue, 30 Sep 2008 21:20:55 +0100
parent 30:bcf539295f2d
child 66:018705d57f09
comparison
equal deleted inserted replaced
30:bcf539295f2d 31:aaccbf07849b
32 --local to_node, to_host, to_resource = jid_split(stanza.attr.to); 32 --local to_node, to_host, to_resource = jid_split(stanza.attr.to);
33 --if not to_host then error("Invalid destination JID: "..string.format("{ %q, %q, %q } == %q", to_node or "", to_host or "", to_resource or "", stanza.attr.to or "nil")); end 33 --if not to_host then error("Invalid destination JID: "..string.format("{ %q, %q, %q } == %q", to_node or "", to_host or "", to_resource or "", stanza.attr.to or "nil")); end
34 34
35 -- Stanza is to this server, or a user on this server 35 -- Stanza is to this server, or a user on this server
36 log("debug", "Routing stanza to local"); 36 log("debug", "Routing stanza to local");
37 print(type(origin), type(stanza));
38 handle_stanza(session, stanza); 37 handle_stanza(session, stanza);
39 end 38 end
40 end 39 end
41 40
42 function core_route_stanza(origin, stanza) 41 function core_route_stanza(origin, stanza)