From 27c777f203a409442ca184f3aa20e703b4784927 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 2 Feb 2012 14:24:24 +0000 Subject: Fixed acf-cli to work with new mvc.lua changes --- lua/mvc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua/mvc.lua') diff --git a/lua/mvc.lua b/lua/mvc.lua index ca5bc8e..bd69051 100755 --- a/lua/mvc.lua +++ b/lua/mvc.lua @@ -124,13 +124,14 @@ destroy = function (self) end -- This is a sample front controller/dispatch. -dispatch = function (self, userprefix, userctlr, useraction) +dispatch = function (self, userprefix, userctlr, useraction, clientdata) local controller = nil local success, err = xpcall ( function () self.conf.prefix = userprefix or "/" self.conf.controller = userctlr or "" self.conf.action = useraction or "" + if clientdata then self.clientdata = clientdata end -- If they didn't provide a controller, and a default was specified -- use it -- cgit v1.2.3