mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-15 15:19:20 +02:00
ip_adresse() does not need binary representation in config
This commit is contained in:
parent
2636da0d98
commit
ac3cd2ebaa
@ -722,6 +722,9 @@ strings_to_binary(L) when is_list(L) ->
|
||||
false ->
|
||||
strings_to_binary1(L)
|
||||
end;
|
||||
strings_to_binary({A, B, C, D}) when
|
||||
is_integer(A), is_integer(B), is_integer(C), is_integer(D) ->
|
||||
{A, B, C ,D};
|
||||
strings_to_binary(T) when is_tuple(T) ->
|
||||
list_to_tuple(strings_to_binary1(tuple_to_list(T)));
|
||||
strings_to_binary(X) ->
|
||||
|
Loading…
Reference in New Issue
Block a user