From 7eb5fb8b1c44ec42b63d9964d57b6904da4a0bab Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 4 Feb 2016 10:06:09 +0100 Subject: mod_groups: Use module:get_option_path, look for file relative to config dir --- plugins/mod_groups.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_groups.lua') 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); -- cgit v1.2.3