From: Vsevolod Stakhov Date: Thu, 27 Jun 2019 16:17:04 +0000 (+0100) Subject: [Minor] Add some descriptions X-Git-Tag: 2.0~706 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb96ca66490347642f5ab2065d4a8d159ed8b2b6;p=thirdparty%2Frspamd.git [Minor] Add some descriptions --- diff --git a/rules/bitcoin.lua b/rules/bitcoin.lua index df6fed2f61..431415d42a 100644 --- a/rules/bitcoin.lua +++ b/rules/bitcoin.lua @@ -27,6 +27,7 @@ local base58_dec = fun.tomap(fun.map( rspamd_config:register_symbol{ name = 'BITCOIN_ADDR', + description = 'Message has a valid bitcoin wallet address', callback = function(task) local rspamd_re = require "rspamd_regexp" local hash = require "rspamd_cryptobox_hash" diff --git a/rules/headers_checks.lua b/rules/headers_checks.lua index 279a51899a..d8e4b59038 100644 --- a/rules/headers_checks.lua +++ b/rules/headers_checks.lua @@ -115,6 +115,7 @@ rspamd_config:register_symbol{ local prio_cb_id = rspamd_config:register_symbol { name = 'HAS_X_PRIO', type = 'callback,mime', + description = 'X-Priority check callback rule', score = 0.0, group = 'headers', callback = function (task)