summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_task.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-09-06 14:29:22 -0700
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-09-06 14:29:22 -0700
commitb73e6d1b5c5cb3b6b916111c7b005fcb04ca2062 (patch)
tree8eb35cdd870e74ce3a5342a9779213217ba8db08 /src/lua/lua_task.c
parent9636d9c60670f1e4a0cb20f214e2a06af900044e (diff)
downloadrspamd-b73e6d1b5c5cb3b6b916111c7b005fcb04ca2062.tar.gz
rspamd-b73e6d1b5c5cb3b6b916111c7b005fcb04ca2062.zip
Fix doc.
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r--src/lua/lua_task.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 1bbf52a0f..feea03b81 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -142,7 +142,8 @@ LUA_FUNCTION_DEF (task, set_pre_result);
* @method task:get_urls()
* Get all URLs found in a message.
* @return {table rspamd_url} list of all urls found
-function phishing_cb (task)
+@example
+local function phishing_cb(task)
local urls = task:get_urls();
if urls then