diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-01-14 11:04:33 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-01-14 11:04:33 +0000 |
commit | 137f4b1e53572d5f43a5a6368482f82149652091 (patch) | |
tree | 47702d200012e7b68419ecbc71c7c2805471a073 /src/libserver/cfg_file.h | |
parent | d43bc62e0a733b8666aad028628173c71c3fc2f3 (diff) | |
download | rspamd-137f4b1e53572d5f43a5a6368482f82149652091.tar.gz rspamd-137f4b1e53572d5f43a5a6368482f82149652091.zip |
[Project] Fix setting of actions score
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r-- | src/libserver/cfg_file.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h index 1a30d3889..0557f4487 100644 --- a/src/libserver/cfg_file.h +++ b/src/libserver/cfg_file.h @@ -642,6 +642,17 @@ gboolean rspamd_config_set_action_score (struct rspamd_config *cfg, const ucl_object_t *obj); /** + * Check priority and maybe disable action completely + * @param cfg + * @param action_name + * @param priority + * @return + */ +gboolean rspamd_config_maybe_disable_action (struct rspamd_config *cfg, + const gchar *action_name, + guint priority); + +/** * Checks if a specified C or lua module is enabled or disabled in the config. * The logic of check is the following: * |