From: Vsevolod Stakhov Date: Mon, 30 May 2016 11:01:11 +0000 (+0100) Subject: [Fix] Fix adding maps from ucl X-Git-Tag: 1.3.0~418 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=10ba1f84ff47aa8b47a453c4b534bad638cd8dba;p=rspamd.git [Fix] Fix adding maps from ucl --- 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: