25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Disable vJUD by default also in mod_vcard_ldap source code

This commit is contained in:
Badlop 2015-11-13 19:33:23 +01:00
parent f6d8f47451
commit 53d72bd85a

View File

@ -55,7 +55,7 @@
{serverhost = <<"">> :: binary(),
myhost = <<"">> :: binary(),
eldap_id = <<"">> :: binary(),
search = true :: boolean(),
search = false :: boolean(),
servers = [] :: [binary()],
backups = [] :: [binary()],
port = ?LDAP_PORT :: inet:port_number(),
@ -735,7 +735,7 @@ parse_options(Host, Opts) ->
<<"vjud.@HOST@">>),
Search = gen_mod:get_opt(search, Opts,
fun(B) when is_boolean(B) -> B end,
true),
false),
Matches = gen_mod:get_opt(matches, Opts,
fun(infinity) -> 0;
(I) when is_integer(I), I>0 -> I