Software /
code /
prosody
Changeset
412:b5b4ec28feec
Change loading order of modules, config before dependency checking
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 25 Nov 2008 03:50:08 +0000 |
parents | 411:64982773cc15 |
children | 413:4b61529d0884 |
files | main.lua |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/main.lua Tue Nov 25 03:48:43 2008 +0000 +++ b/main.lua Tue Nov 25 03:50:08 2008 +0000 @@ -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 @@ end end +local server = require "net.server" + +require "util.dependencies" + -- Maps connections to sessions -- sessions = {}; hosts = {};