mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Disable vJUD search in the default config and when not specified
This commit is contained in:
parent
aa5caa30e2
commit
f6d8f47451
@ -658,7 +658,8 @@ modules:
|
||||
mod_shared_roster: {}
|
||||
mod_stats: {}
|
||||
mod_time: {}
|
||||
mod_vcard: {}
|
||||
mod_vcard:
|
||||
search: false
|
||||
mod_version: {}
|
||||
|
||||
##
|
||||
|
@ -94,7 +94,7 @@ start(Host, Opts) ->
|
||||
<<"vjud.@HOST@">>),
|
||||
Search = gen_mod:get_opt(search, Opts,
|
||||
fun(B) when is_boolean(B) -> B end,
|
||||
true),
|
||||
false),
|
||||
register(gen_mod:get_module_proc(Host, ?PROCNAME),
|
||||
spawn(?MODULE, init, [MyHost, Host, Search])).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user