Software /
code /
prosody
Changeset
5373:9e6d6cdf0449
mod_groups: Use module API for reading config
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2013 01:39:56 +0100 |
parents | 5372:676e3cf0e565 |
children | 5374:b62c6cbcb065 |
files | plugins/mod_groups.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);