Software /
code /
prosody
Changeset
1084:422be8f8911c
prosody: Don't require console_enabled option anymore
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 02 May 2009 16:58:40 +0100 |
parents | 1082:f58394b9ba66 |
children | 1085:1ac11fb753ca |
files | prosody |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/prosody Fri May 01 20:34:25 2009 +0100 +++ b/prosody Sat May 02 16:58:40 2009 +0100 @@ -149,12 +149,8 @@ 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