diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-05-02 16:58:40 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-05-02 16:58:40 +0100 |
commit | 50945d24e0e8d256221276534d5f90f643c0fc85 (patch) | |
tree | 46fda64a6e0c1973a9515c4c7dfabf93decccfc2 /prosody | |
parent | b835db8db75400c1bebfc47019c27b851494978e (diff) | |
download | prosody-50945d24e0e8d256221276534d5f90f643c0fc85.tar.gz prosody-50945d24e0e8d256221276534d5f90f643c0fc85.zip |
prosody: Don't require console_enabled option anymore
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -149,12 +149,8 @@ net_activate_ports("c2s", "xmppclient", {5222}, (global_ssl_ctx and "tls") or "t net_activate_ports("s2s", "xmppserver", {5269}, "tcp"); net_activate_ports("legacy_ssl", "xmppclient", {}, "ssl"); -if config.get("*", "core", "console_enabled") then - if cl.get("console") then - cl.start("console", { interface = config.get("*", "core", "console_interface") or "127.0.0.1" }) - else - log("error", "Console is enabled, but the console module appears not to be loaded"); - end +if cl.get("console") then + cl.start("console", { interface = config.get("*", "core", "console_interface") or "127.0.0.1" }) end -- Global function to initiate prosody shutdown |