From 9d07cc98e441992af3b1339358635a1ce507b4c5 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 23 Mar 2013 01:39:56 +0100 Subject: mod_groups: Use module API for reading config --- 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 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); -- cgit v1.2.3