diff options
author | Kim Alvefur <zash@zash.se> | 2016-02-04 10:06:09 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-02-04 10:06:09 +0100 |
commit | bccfb4fd28ade9f23ec5b67bb95906fb053417f0 (patch) | |
tree | c941d5118b73bbbca5eba92a64fa713e1de81bfc /plugins/mod_groups.lua | |
parent | 2ab1810f7d42d0aaae8e2307111fc1421d347978 (diff) | |
download | prosody-bccfb4fd28ade9f23ec5b67bb95906fb053417f0.tar.gz prosody-bccfb4fd28ade9f23ec5b67bb95906fb053417f0.zip |
mod_groups: Use module:get_option_path, look for file relative to config dir
Diffstat (limited to 'plugins/mod_groups.lua')
-rw-r--r-- | plugins/mod_groups.lua | 2 |
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); |