commit eb96ca6: [Minor] Add some descriptions

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Jun 27 18:42:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-06-27 17:17:04 +0100
URL: https://github.com/rspamd/rspamd/commit/eb96ca66490347642f5ab2065d4a8d159ed8b2b6

[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)


More information about the Commits mailing list