Extensions

- Removed the redundant README file, which is now better presented in
  rfc5-hooks.txt.
- Modified all the sample Lua to be rfc5 compliant.
This commit is contained in:
Paul Beckingham 2011-04-24 16:25:11 -04:00
parent 638fcd8ca0
commit 01df9e189e
7 changed files with 25 additions and 142 deletions

View file

@ -7,7 +7,7 @@
function install ()
return 'program', -- Type
'goodbye', -- Name
1.0, -- Version
'1.0', -- Version
'Simply says goodbye', -- Description
'Paul Beckingham', -- Author
'paul@beckingham.net', -- Contact
@ -22,10 +22,8 @@ function hook ()
end
-- Arguments: None
-- Returns: 1, 'error' --> failure
-- 0, nil --> success
-- Returns: 0 --> success only
function goodbye ()
print ('Goodbye.')
return 0, nil
end