diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-23 04:56:46 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-23 04:56:46 +0000 |
commit | 21df2699e2ffd587a014c9c345ca1161d6a4fc5c (patch) | |
tree | 43b2d3605afc1d5a84109d0d827af5e4cfc17c2d /main.lua | |
parent | 63554918e90c5f711e199c6fd08021a1944b866f (diff) | |
download | prosody-21df2699e2ffd587a014c9c345ca1161d6a4fc5c.tar.gz prosody-21df2699e2ffd587a014c9c345ca1161d6a4fc5c.zip |
Only start console if it is enabled in the config. Note that the exact option is going to change tomorrow.
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -88,7 +88,9 @@ end 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"); |