projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e1ab53
)
mod_groups: Use module API for reading config
author
Kim Alvefur
<zash@zash.se>
Sat, 23 Mar 2013 00:39:56 +0000
(
01:39
+0100)
committer
Kim Alvefur
<zash@zash.se>
Sat, 23 Mar 2013 00:39:56 +0000
(
01:39
+0100)
plugins/mod_groups.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_groups.lua
b/plugins/mod_groups.lua
index 7a876f1d6845a67f4e69f57d4564cdd73e086176..199925f9c2da711ab7760447e489f3befc8ba362 100644
(file)
--- 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);