diff options
Diffstat (limited to 'src/plugins/lua')
-rw-r--r-- | src/plugins/lua/fann_scores.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/fann_scores.lua b/src/plugins/lua/fann_scores.lua index ea6319801..4508afc17 100644 --- a/src/plugins/lua/fann_scores.lua +++ b/src/plugins/lua/fann_scores.lua @@ -311,7 +311,7 @@ end local function check_fann(id) if data[id].fann then - local n = rspamd_config:get_symbols_count() + count_metatokens + local n = rspamd_config:get_symbols_count() + count_metatokens() if n ~= data[id].fann:get_inputs() then rspamd_logger.infox(rspamd_config, 'fann has incorrect number of inputs: %s, %s symbols' .. |