diff options
Diffstat (limited to 'hostname-controller.lua')
-rw-r--r-- | hostname-controller.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hostname-controller.lua b/hostname-controller.lua index 8a6ead8..3164ac6 100644 --- a/hostname-controller.lua +++ b/hostname-controller.lua @@ -8,11 +8,11 @@ module (..., package.seeall) default_action = "read" read = function (self ) - return ({hostname = self.model:get()} ) + return self.model:get() end update = function (self) - return ( {hostname = self.model:set(cfe({value=self.clientdata.hostname}))}) + return self.model:set(cfe({value=self.clientdata.hostname})) end --[[ |