diff -r 5d90caa7fb2c -r 0cf6c938ac03 docs/api.mdwn --- a/docs/api.mdwn Thu Mar 17 23:17:00 2016 +0200 +++ b/docs/api.mdwn Mon Mar 21 02:04:02 2016 +0200 @@ -64,7 +64,7 @@ ### mcabber.option -Sets or gets value of given config option. +Sets or gets value of given mcabber config option. You can specify nil as a value to delete option. If you omit option name, it returns hash table of all options. **Arguments:** string (option name, optional), string (value, optional) @@ -299,7 +299,7 @@ ### mcabber.hook Installs hook handler, returns an object, that you need to keep until hook handling is no more needed. -**Arguments:** string (hook name), [hook function](#hook.function), integer (priority, optional) +**Arguments:** string (hook name), [hook function](#hook.function), integer ([hook handler priority](#hook.handler.priority), optional) **Return values:** userdata (hook object)