diff options
Diffstat (limited to 'lbu-controller.lua')
-rw-r--r-- | lbu-controller.lua | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/lbu-controller.lua b/lbu-controller.lua index f258f5f..060a7b8 100644 --- a/lbu-controller.lua +++ b/lbu-controller.lua @@ -1,26 +1,11 @@ module(..., package.seeall) --- Set variables -local cfgfile - --- ################################################################################ --- LOCAL FUNCTIONS - -local function list_redir (self) - self.conf.action = "status" - self.conf.type = "redir" - error(self.conf) -end - -- ################################################################################ -- PUBLIC FUNCTIONS mvc={} function mvc.on_load (self, parent) - cfgfile = self:new("cfgfile") - if (self.worker[self.conf.action] == nil) or (self.conf.action == "init") then - self.worker[self.conf.action] = list_redir(self) - end + self.conf.default_action = "status" end function status (self) |