diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-25 03:50:08 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-25 03:50:08 +0000 |
commit | f86f6bc13d458728763b29148750098d9f8846cd (patch) | |
tree | 3373c216ce295bb6da4fe4a56c2a9708a6b74688 /main.lua | |
parent | f186939185c9cb2e2b8d1db876cdfd43db1f77b2 (diff) | |
download | prosody-f86f6bc13d458728763b29148750098d9f8846cd.tar.gz prosody-f86f6bc13d458728763b29148750098d9f8846cd.zip |
Change loading order of modules, config before dependency checking
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,10 +1,6 @@ pcall(require, "luarocks.require") -local server = require "net.server" local config = require "core.configmanager" - -require "util.dependencies" - log = require "util.logger".init("general"); do @@ -28,6 +24,10 @@ do end end +local server = require "net.server" + +require "util.dependencies" + -- Maps connections to sessions -- sessions = {}; hosts = {}; |