commit 7d0160a: [Minor] Correct the docs

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Apr 13 15:49:05 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-04-13 16:26:22 +0100
URL: https://github.com/rspamd/rspamd/commit/7d0160a7d82221de49ae235be669e131d8156243 (HEAD -> master)

[Minor] Correct the docs

---
 src/lua/lua_task.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 2de3fb5ed..cb9ca4994 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -262,9 +262,9 @@ LUA_FUNCTION_DEF (task, get_urls);
  * - If flags include are nil then all but excluded urls are returned
  * - If flags exclude are nil then only included explicitly urls are returned
  * - If both parameters are nil then all urls are included
- * @param {table|string} flags_include included flags
- * @param {table|string} flags_exclude excluded flags
- * @param {table|string} protocols_mask incude only specific protocols
+ * @param {table} flags_include included flags
+ * @param {table} flags_exclude excluded flags
+ * @param {table} protocols_mask incude only specific protocols
  * @return {table rspamd_url} list of urls matching conditions
  */
 LUA_FUNCTION_DEF (task, get_urls_filtered);


More information about the Commits mailing list