summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rc-model.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc-model.lua b/rc-model.lua
index 3df75a2..35e69a5 100644
--- a/rc-model.lua
+++ b/rc-model.lua
@@ -89,8 +89,8 @@ function mymodule.get_startstop(self, clientdata)
return modelfunctions.get_startstop(clientdata.servicename)
end
-function mymodule.startstop_service(self, startstop)
- return modelfunctions.startstop_service(startstop, clientdata.action)
+function mymodule.startstop_service(self, startstop, action)
+ return modelfunctions.startstop_service(startstop, action)
end
return mymodule