# HG changeset patch # User Matthew Wild # Date 1227416206 0 # Node ID 32b586d9e91554f946029a88d6476b0ea4b90e84 # Parent 9daf1e3d278e5cc1ca38a5ce004120e13c0780eb Only start console if it is enabled in the config. Note that the exact option is going to change tomorrow. diff -r 9daf1e3d278e -r 32b586d9e915 main.lua --- a/main.lua Sun Nov 23 04:54:44 2008 +0000 +++ b/main.lua Sun Nov 23 04:56:46 2008 +0000 @@ -88,7 +88,9 @@ start("xmppclient", { ssl = global_ssl_ctx }) start("xmppserver", { ssl = global_ssl_ctx }) -start("console") +if config.get("*", "core", "console_enabled") then + start("console") +end modulemanager.fire_event("server-started");