25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Disable vJUD search in the default config and when not specified

This commit is contained in:
Badlop 2015-11-13 19:30:11 +01:00
parent aa5caa30e2
commit f6d8f47451
2 changed files with 3 additions and 2 deletions

View File

@ -658,7 +658,8 @@ modules:
mod_shared_roster: {}
mod_stats: {}
mod_time: {}
mod_vcard: {}
mod_vcard:
search: false
mod_version: {}
##

View File

@ -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])).