commit b66bbcb: [Minor] rspamd_task API docs: fix broken link

Andrew Lewis nerf at judo.za.org
Mon Jul 29 17:52:18 UTC 2024


Author: Andrew Lewis
Date: 2024-02-01 17:32:09 +0200
URL: https://github.com/rspamd/rspamd/commit/b66bbcbea15a54e9b78c7a5044bf81c128855903 (refs/pull/4807/head)

[Minor] rspamd_task API docs: fix broken link

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

diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 727860208..dd2ca108b 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -635,7 +635,7 @@ LUA_FUNCTION_DEF(task, get_user);
 LUA_FUNCTION_DEF(task, set_user);
 /***
  * @method task:get_from_ip()
- * Returns [ip_addr](ip.md) object of a sender that is provided by MTA
+ * Returns [rspamd_ip](rspamd_ip.md) object of a sender that is provided by MTA
  * @return {rspamd_ip} ip address object
  */
 LUA_FUNCTION_DEF(task, get_from_ip);
@@ -648,7 +648,7 @@ LUA_FUNCTION_DEF(task, set_from_ip);
 LUA_FUNCTION_DEF(task, get_from_ip_num);
 /***
  * @method task:get_client_ip()
- * Returns [ip_addr](ip.md) object of a client connected to rspamd (normally, it is an IP address of MTA)
+ * Returns [rspamd_ip](rspamd_ip.md) object of a client connected to rspamd (normally, it is an IP address of MTA)
  * @return {rspamd_ip} ip address object
  */
 LUA_FUNCTION_DEF(task, get_client_ip);


More information about the Commits mailing list