- Tweaks to the Lua and extension API.  Note that this is a documentation-only
  change, meaning the design is being honed.  No support exists yet.
This commit is contained in:
Paul Beckingham
2012-01-15 11:39:53 -05:00
parent 15030599fd
commit 15d25d4fdf
5 changed files with 10 additions and 13 deletions

View File

@@ -24,7 +24,7 @@ end
-- Arguments: None
-- Returns: 1 --> failure
-- 0 --> success
function encourage ()
function execute (uuid)
-- Only provide encouragement if the verbosity settings allow it.
verbosity = task_get ('rc.verbose')
if string.find (verbosity, 'encourage') ~= nil