diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-30 12:01:11 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-30 12:01:11 +0100 |
commit | 10ba1f84ff47aa8b47a453c4b534bad638cd8dba (patch) | |
tree | 2593b74e4a64b0c8daa1896c8156cb9bbac7b983 | |
parent | a29d51b6374c1c8583def29cefdb693d2f7d5380 (diff) | |
download | rspamd-10ba1f84ff47aa8b47a453c4b534bad638cd8dba.tar.gz rspamd-10ba1f84ff47aa8b47a453c4b534bad638cd8dba.zip |
[Fix] Fix adding maps from ucl
-rw-r--r-- | src/libutil/map.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libutil/map.c b/src/libutil/map.c index d7f509325..86cd3e5ee 100644 --- a/src/libutil/map.c +++ b/src/libutil/map.c @@ -1328,6 +1328,11 @@ rspamd_map_add_from_ucl (struct rspamd_config *cfg, } } + rspamd_map_calculate_hash (map); + msg_info_map ("added map from ucl"); + + cfg->maps = g_list_prepend (cfg->maps, map); + return map; err: |