--- a/plugins/mod_console.lua Mon May 17 11:56:36 2010 +0100
+++ b/plugins/mod_console.lua Mon May 17 11:57:01 2010 +0100
@@ -58,6 +58,7 @@
local session = console:new_session(conn);
sessions[conn] = session;
printbanner(session);
+ session.send(string.char(0));
end
function console_listener.onincoming(conn, data)
--- a/prosody Mon May 17 11:56:36 2010 +0100
+++ b/prosody Mon May 17 11:57:01 2010 +0100
@@ -143,6 +143,10 @@
debug.setupvalue(f, i, value);
end
end
+ function mt.__tostring(f)
+ local info = debug.getinfo(f);
+ return ("function(%s:%d)"):format(info.short_src:match("[^\\/]*$"), info.linedefined);
+ end
debug.setmetatable(function() end, mt);
end
@@ -331,7 +335,7 @@
end
function prepare_to_start()
- log("info", "Prosody is using the %s backend for connection handling", server.get_backend());
+ log("debug", "Prosody is using the %s backend for connection handling", server.get_backend());
-- Signal to modules that we are ready to start
eventmanager.fire_event("server-starting");
prosody.events.fire_event("server-starting");