plugins/mod_groups.lua
changeset 5373 9e6d6cdf0449
parent 4315 51706d2b9f77
child 5417 d13ec6622752
--- a/plugins/mod_groups.lua	Sat Mar 23 01:35:52 2013 +0100
+++ b/plugins/mod_groups.lua	Sat Mar 23 01:39:56 2013 +0100
@@ -80,7 +80,7 @@
 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);