aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-03-23 01:39:56 +0100
committerKim Alvefur <zash@zash.se>2013-03-23 01:39:56 +0100
commit9d07cc98e441992af3b1339358635a1ce507b4c5 (patch)
tree6026b7071cb83ba57002cf3890ba5b1c2db748bf /plugins
parent1faf33dfd581e6c75b6d2bf220caf65bcb98b2ba (diff)
downloadprosody-9d07cc98e441992af3b1339358635a1ce507b4c5.tar.gz
prosody-9d07cc98e441992af3b1339358635a1ce507b4c5.zip
mod_groups: Use module API for reading config
Diffstat (limited to 'plugins')
-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 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);