From: Vsevolod Stakhov Date: Sat, 6 Sep 2014 21:29:22 +0000 (-0700) Subject: Fix doc. X-Git-Tag: 0.7.0~25^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b73e6d1b5c5cb3b6b916111c7b005fcb04ca2062;p=thirdparty%2Frspamd.git Fix doc. --- diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 1bbf52a0f3..feea03b819 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