diff options
Diffstat (limited to 'src/lua/lua_map.c')
-rw-r--r-- | src/lua/lua_map.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/lua_map.c b/src/lua/lua_map.c index 223664a15..f6fde2124 100644 --- a/src/lua/lua_map.c +++ b/src/lua/lua_map.c @@ -174,7 +174,8 @@ lua_config_radix_from_config (lua_State *L) map->type = RSPAMD_LUA_MAP_RADIX; map->data.radix = radix_create_compressed (); map->flags |= RSPAMD_LUA_MAP_FLAG_EMBEDDED; - radix_add_generic_iplist (ucl_obj_tostring (obj), &map->data.radix); + radix_add_generic_iplist (ucl_obj_tostring (obj), &map->data.radix, + TRUE); pmap = lua_newuserdata (L, sizeof (void *)); *pmap = map; rspamd_lua_setclass (L, "rspamd{map}", -1); |