commit fc08274: [Minor] Amend doc string

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Apr 21 15:21:14 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-04-21 14:34:31 +0100
URL: https://github.com/rspamd/rspamd/commit/fc08274623ea616dff051d5555755dc3cfbebee8

[Minor] Amend doc string

---
 src/lua/lua_url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lua/lua_url.c b/src/lua/lua_url.c
index 94cb51dbd..65f0569a5 100644
--- a/src/lua/lua_url.c
+++ b/src/lua/lua_url.c
@@ -715,7 +715,7 @@ lua_url_to_table (lua_State *L)
 
 
 /***
- * @function url.create([mempool,] str)
+ * @function url.create([mempool,] str, [{flags_table}])
  * @param {rspamd_mempool} memory pool for URL, e.g. `task:get_mempool()`
  * @param {string} text that contains URL (can also contain other stuff)
  * @return {url} new url object that exists as long as the corresponding mempool exists


More information about the Commits mailing list