diff options
author | Kim Alvefur <zash@zash.se> | 2013-03-23 01:39:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-03-23 01:39:56 +0100 |
commit | 9d07cc98e441992af3b1339358635a1ce507b4c5 (patch) | |
tree | 6026b7071cb83ba57002cf3890ba5b1c2db748bf | |
parent | 1faf33dfd581e6c75b6d2bf220caf65bcb98b2ba (diff) | |
download | prosody-9d07cc98e441992af3b1339358635a1ce507b4c5.tar.gz prosody-9d07cc98e441992af3b1339358635a1ce507b4c5.zip |
mod_groups: Use module API for reading config
-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 7a876f1d..199925f9 100644 --- a/plugins/mod_groups.lua +++ b/plugins/mod_groups.lua @@ -80,7 +80,7 @@ function remove_virtual_contacts(username, host, datastore, data) end function module.load() - groups_file = config.get(module:get_host(), "core", "groups_file"); + groups_file = module:get_option_string("groups_file"); if not groups_file then return; end module:hook("roster-load", inject_roster_contacts); |