diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-30 13:35:22 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-30 13:35:22 +0100 |
commit | 3607dc8eb27810f2ebcd51fefafeb819aa192ce1 (patch) | |
tree | 8b06be5d643bf9fe6344ed8772eb21e5c2e91d40 /src | |
parent | aeb6b4cffa612501f5c74300390c4756a98ba17e (diff) | |
download | rspamd-3607dc8eb27810f2ebcd51fefafeb819aa192ce1.tar.gz rspamd-3607dc8eb27810f2ebcd51fefafeb819aa192ce1.zip |
[Minor] Add 'learn_condition' alias
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/cfg_rcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index 8be75ea22..b90c1116b 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -1307,7 +1307,7 @@ rspamd_rcl_classifier_handler (rspamd_mempool_t *pool, ccf->tokenizer = tkcf; /* Handle lua conditions */ - val = ucl_object_lookup (obj, "condition"); + val = ucl_object_lookup_any (obj, "condition", "learn_condition", NULL); if (val) { LL_FOREACH (val, cur) { |