From f86f6bc13d458728763b29148750098d9f8846cd Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Tue, 25 Nov 2008 03:50:08 +0000 Subject: Change loading order of modules, config before dependency checking --- main.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.lua b/main.lua index 1a8c4295..1513763e 100644 --- a/main.lua +++ b/main.lua @@ -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 = {}; -- cgit v1.2.3