]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Fix doc.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 6 Sep 2014 21:29:22 +0000 (14:29 -0700)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 6 Sep 2014 21:29:22 +0000 (14:29 -0700)
src/lua/lua_task.c

index 1bbf52a0f3614bd4fa1fb677329b832a5b02258e..feea03b819b4118e0b58101916c032339e5ce0e8 100644 (file)
@@ -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