--- 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 @@
<a name="mcabber.option"></a>
### 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)
<a name="hook:del"></a>
--- a/lua.c Thu Mar 17 23:17:00 2016 +0200
+++ b/lua.c Mon Mar 21 02:04:02 2016 +0200
@@ -1476,7 +1476,7 @@
/// mcabber.hook
/// Installs hook handler, returns an object, that you need to keep until
/// hook handling is no more needed.
-/// A: string (hook name), hook function, integer (priority, optional)
+/// A: string (hook name), hook function, integer (hook handler priority, optional)
/// R: userdata (hook object)
static int lua_main_hook (lua_State *L)
{