diff options
author | Haru <haru@dotalux.com> | 2016-09-13 11:56:02 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-09-13 11:56:02 +0200 |
commit | 4aa5286929b14ac52bef6959b295e189788e2578 (patch) | |
tree | fac4d58fbf660db72da44a6abc082555c00c6cdc /src/map/map.c | |
parent | 3119f6e757ec0c0b43a312954a5a3c09b27bbaf3 (diff) | |
download | hercules-4aa5286929b14ac52bef6959b295e189788e2578.tar.gz hercules-4aa5286929b14ac52bef6959b295e189788e2578.tar.bz2 hercules-4aa5286929b14ac52bef6959b295e189788e2578.tar.xz hercules-4aa5286929b14ac52bef6959b295e189788e2578.zip |
Fixed an error in the scripts_removed.conf processing
- Fixes #1425, fixes #1430
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |