summaryrefslogtreecommitdiff
path: root/src/map/pc_groups.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc_groups.c')
-rw-r--r--src/map/pc_groups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc_groups.c b/src/map/pc_groups.c
index bd46b9616..5a86030fc 100644
--- a/src/map/pc_groups.c
+++ b/src/map/pc_groups.c
@@ -68,7 +68,7 @@ static void read_config(void) {
const char *config_filename = "conf/groups.conf"; // FIXME hardcoded name
int group_count = 0;
- if (libconfig->read_file(&pc_group_config, config_filename))
+ if (!libconfig->load_file(&pc_group_config, config_filename))
return;
groups = libconfig->lookup(&pc_group_config, "groups");