]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Add some descriptions
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 27 Jun 2019 16:17:04 +0000 (17:17 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 27 Jun 2019 18:37:13 +0000 (19:37 +0100)
rules/bitcoin.lua
rules/headers_checks.lua

index df6fed2f61fa8f4fd37faef573773b701af7696b..431415d42aabfea1103e7ae4165f5e0ee7508b3d 100644 (file)
@@ -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"
index 279a51899aced9a5951d3bc63f45ca6dbd791182..d8e4b590380eef502eabf17995ecf5bc574249e2 100644 (file)
@@ -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)