]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Amend doc string
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 21 Apr 2020 13:34:31 +0000 (14:34 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 21 Apr 2020 13:34:31 +0000 (14:34 +0100)
src/lua/lua_url.c

index 94cb51dbd9615607b1a08e86f487a8cc6a88d52d..65f0569a560e2d141e3d487f2ca8d82d060ddf73 100644 (file)
@@ -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