Browse Source

Fix doc.

pull/100/head
Vsevolod Stakhov 11 years ago
parent
commit
b73e6d1b5c
  1. 3
      src/lua/lua_task.c

3
src/lua/lua_task.c

@ -142,7 +142,8 @@ LUA_FUNCTION_DEF (task, set_pre_result);
* @method task:get_urls() * @method task:get_urls()
* Get all URLs found in a message. * Get all URLs found in a message.
* @return {table rspamd_url} list of all urls found * @return {table rspamd_url} list of all urls found
function phishing_cb (task)
@example
local function phishing_cb(task)
local urls = task:get_urls(); local urls = task:get_urls();
if urls then if urls then

Loading…
Cancel
Save