From: Vsevolod Stakhov Date: Tue, 15 Jun 2021 16:27:38 +0000 (+0100) Subject: [Minor] Update docs X-Git-Tag: 3.0~294 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=451295abe4dc7604f64fdbd12a18884b2e8af400;p=rspamd.git [Minor] Update docs --- diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 25e08e99a..eacf1bd15 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -219,9 +219,11 @@ LUA_FUNCTION_DEF (task, set_pre_result); /*** * @method task:has_pre_result() - * Returns true if task has some pre-result being set + * Returns true if task has some pre-result being set. + * If result has been set this function also returns pre result action, + * message and module as strings in this order. * - * @return {boolean} true if task has some pre-result being set + * @return {boolean,[string,string,string]} true if task has some pre-result being set */ LUA_FUNCTION_DEF (task, has_pre_result); /***