aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_groups.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_groups.lua b/plugins/mod_groups.lua
index be1a5508..62a38246 100644
--- a/plugins/mod_groups.lua
+++ b/plugins/mod_groups.lua
@@ -82,7 +82,7 @@ function remove_virtual_contacts(username, host, datastore, data)
end
function module.load()
- groups_file = module:get_option_string("groups_file");
+ groups_file = module:get_option_path("groups_file", nil, "config");
if not groups_file then return; end
module:hook("roster-load", inject_roster_contacts);