diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-01 17:56:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-01 17:56:44 +0100 |
commit | c8169619f2385faf6d2a46ef7b9d1b060f1efa91 (patch) | |
tree | 90d7dcba4fab19249fdd06300b5a1282bedfd565 | |
parent | 5eeb6c28676436f5cba8917f94c04e280e6c05a7 (diff) | |
download | rspamd-c8169619f2385faf6d2a46ef7b9d1b060f1efa91.tar.gz rspamd-c8169619f2385faf6d2a46ef7b9d1b060f1efa91.zip |
[Minor] Add settings id recognition
-rw-r--r-- | src/libserver/cfg_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 525a72a74..71bfa5946 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -500,6 +500,9 @@ rspamd_config_process_var (struct rspamd_config *cfg, const rspamd_ftok_t *var, else if (rspamd_ftok_cstr_equal (&tok, "forced_action", TRUE)) { type = RSPAMD_LOG_FORCED_ACTION; } + else if (rspamd_ftok_cstr_equal (&tok, "settings_id", TRUE)) { + type = RSPAMD_LOG_SETTINGS_ID; + } else { msg_err_config ("unknown log variable: %T", &tok); return FALSE; |