projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fde0ebd
)
mod_groups: Use module:get_option_path, look for file relative to config dir
author
Kim Alvefur
<zash@zash.se>
Thu, 4 Feb 2016 09:06:09 +0000
(10:06 +0100)
committer
Kim Alvefur
<zash@zash.se>
Thu, 4 Feb 2016 09:06:09 +0000
(10:06 +0100)
plugins/mod_groups.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_groups.lua
b/plugins/mod_groups.lua
index be1a5508f87021d24a1c8d064060ba667f711f38..62a382469d712063b310f337dd5ebb2bbe6fcaf4 100644
(file)
--- a/
plugins/mod_groups.lua
+++ b/
plugins/mod_groups.lua
@@
-82,7
+82,7
@@
function remove_virtual_contacts(username, host, datastore, data)
end
function module.load()
- groups_file = module:get_option_
string("groups_file
");
+ groups_file = module:get_option_
path("groups_file", nil, "config
");
if not groups_file then return; end
module:hook("roster-load", inject_roster_contacts);