From: Vsevolod Stakhov Date: Wed, 27 Mar 2019 14:59:18 +0000 (+0000) Subject: [Minor] Lua_task: Fix doc strings X-Git-Tag: 1.9.1~34 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=108d75cf1268062a8821bbbdc765e1a112b98b78;p=rspamd.git [Minor] Lua_task: Fix doc strings --- diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 92ae7e9d1..833c31e60 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -631,15 +631,15 @@ LUA_FUNCTION_DEF (task, get_symbols_tokens); */ LUA_FUNCTION_DEF (task, has_symbol); /*** - * @method task:has_symbol(name) - * Fast path to check if a specified symbol is in the task's results + * @method task:enable_symbol(name) + * Enable specified symbol for this particular task * @param {string} name symbol's name * @return {boolean} `true` if symbol has been found */ LUA_FUNCTION_DEF (task, enable_symbol); /*** - * @method task:has_symbol(name) - * Fast path to check if a specified symbol is in the task's results + * @method task:disable_symbol(name) + * Disable specified symbol for this particular task * @param {string} name symbol's name * @return {boolean} `true` if symbol has been found */