From 4aa5286929b14ac52bef6959b295e189788e2578 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 13 Sep 2016 11:56:02 +0200 Subject: Fixed an error in the scripts_removed.conf processing - Fixes #1425, fixes #1430 Signed-off-by: Haru --- src/map/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/map.c b/src/map/map.c index e901eb6b9..d22b28689 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -3996,7 +3996,7 @@ bool map_config_read_map_list(const char *filename, struct config_t *config, boo nullpo_retr(false, filename); nullpo_retr(false, config); - deleted_maps = strdb_alloc(DB_OPT_DUP_KEY|DB_OPT_RELEASE_KEY, MAP_NAME_LENGTH); + deleted_maps = strdb_alloc(DB_OPT_DUP_KEY|DB_OPT_RELEASE_KEY|DB_OPT_ALLOW_NULL_DATA, MAP_NAME_LENGTH); // Remove maps if ((setting = libconfig->lookup(config, "map_configuration/map_removed")) != NULL) { -- cgit v1.2.3-70-g09d2