Browse Source

[Minor] Add some descriptions

tags/2.0
Vsevolod Stakhov 4 years ago
parent
commit
eb96ca6649
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      rules/bitcoin.lua
  2. 1
    0
      rules/headers_checks.lua

+ 1
- 0
rules/bitcoin.lua View 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"

+ 1
- 0
rules/headers_checks.lua View 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)

Loading…
Cancel
Save