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 | 4e39ddd2f28a356dfc9d98fabaa8ffa736e303cc (patch) | |
tree | 6026b7071cb83ba57002cf3890ba5b1c2db748bf | |
parent | 868792de7e95dcb56370ef923bde6dcc009de675 (diff) | |
download | prosody-4e39ddd2f28a356dfc9d98fabaa8ffa736e303cc.tar.gz prosody-4e39ddd2f28a356dfc9d98fabaa8ffa736e303cc.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); |