From eb96ca66490347642f5ab2065d4a8d159ed8b2b6 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 27 Jun 2019 17:17:04 +0100 Subject: [PATCH] [Minor] Add some descriptions --- rules/bitcoin.lua | 1 + rules/headers_checks.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/rules/bitcoin.lua b/rules/bitcoin.lua index df6fed2f6..431415d42 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 279a51899..d8e4b5903 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) -- 2.39.5