diff -r 516f4c901991 -r 80e7de32b618 main.lua --- a/main.lua Wed Nov 12 21:38:46 2008 +0100 +++ b/main.lua Sat Nov 15 13:47:17 2008 +0100 @@ -17,7 +17,7 @@ if config.hosts and #config.hosts > 0 then for _, host in pairs(config.hosts) do - hosts[host] = {type = "local", connected = true, sessions = {}, host = host}; + hosts[host] = {type = "local", connected = true, sessions = {}, host = host, s2sout = {} }; end else error("No hosts defined in the configuration file"); end @@ -32,6 +32,9 @@ require "core.sessionmanager" require "core.stanza_router" +pcall(require, "remdebug.engine"); +if remdebug then remdebug.engine.start() end + local start = require "net.connlisteners".start; require "util.stanza" require "util.jid"