Browse Source

[Fix] Fix adding maps from ucl

tags/1.3.0
Vsevolod Stakhov 8 years ago
parent
commit
10ba1f84ff
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      src/libutil/map.c

+ 5
- 0
src/libutil/map.c View File

@@ -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:

Loading…
Cancel
Save