diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-02-05 14:32:20 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-02-05 14:32:20 +0000 |
commit | 9e179c8aa7656cfe910666c4e3fb43fbda4c7326 (patch) | |
tree | 72e1226f94e5569a7f18e7ebaf4ae6d20de2342a /prosody | |
parent | efae77c4933e6dac45c51c162d70b2de26220191 (diff) | |
download | prosody-9e179c8aa7656cfe910666c4e3fb43fbda4c7326.tar.gz prosody-9e179c8aa7656cfe910666c4e3fb43fbda4c7326.zip |
prosody: Initialize logging before checking dependencies (fixes another traceback with no LuaSec)
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -32,6 +32,9 @@ if CFG_DATADIR then end end +-- Initialize logging +require "core.loggingmanager" + -- Check runtime dependencies if not require "util.dependencies".check_dependencies() then os.exit(1); @@ -112,9 +115,6 @@ function read_config() end function load_libraries() - -- Initialize logging - require "core.loggingmanager" - -- Load socket framework server = require "net.server" end |