test/functional/lua/option_order.lua
raw| 1 | rspamd_config:register_symbol({ |
| 2 | name = 'TBL_OPTION_ORDER', |
| 3 | score = 1.0, |
| 4 | callback = function() |
| 5 | return true, {'one', 'two', 'three', '4', '5', 'a'} |
| 6 | end |
| 7 | }) |
| 8 | |
| 9 | rspamd_config:register_symbol({ |
| 10 | name = 'OPTION_ORDER', |
| 11 | score = 1.0, |
| 12 | callback = function() |
| 13 | return true, 'one', 'two', 'three', '4', '5', 'a' |
| 14 | end |
| 15 | }) |