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_shared_roster: {}
|
||||||
mod_stats: {}
|
mod_stats: {}
|
||||||
mod_time: {}
|
mod_time: {}
|
||||||
mod_vcard: {}
|
mod_vcard:
|
||||||
|
search: false
|
||||||
mod_version: {}
|
mod_version: {}
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
|
@ -94,7 +94,7 @@ start(Host, Opts) ->
|
||||||
<<"vjud.@HOST@">>),
|
<<"vjud.@HOST@">>),
|
||||||
Search = gen_mod:get_opt(search, Opts,
|
Search = gen_mod:get_opt(search, Opts,
|
||||||
fun(B) when is_boolean(B) -> B end,
|
fun(B) when is_boolean(B) -> B end,
|
||||||
true),
|
false),
|
||||||
register(gen_mod:get_module_proc(Host, ?PROCNAME),
|
register(gen_mod:get_module_proc(Host, ?PROCNAME),
|
||||||
spawn(?MODULE, init, [MyHost, Host, Search])).
|
spawn(?MODULE, init, [MyHost, Host, Search])).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue