commit 108d75c: [Minor] Lua_task: Fix doc strings
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Mar 27 15:00:04 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-03-27 14:59:18 +0000
URL: https://github.com/rspamd/rspamd/commit/108d75cf1268062a8821bbbdc765e1a112b98b78 (HEAD -> master)
[Minor] Lua_task: Fix doc strings
---
src/lua/lua_task.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
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
*/
More information about the Commits
mailing list