aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2013-06-28 18:32:22 +0200
committerChristophe Romain <christophe.romain@process-one.net>2013-06-28 18:32:22 +0200
commitac3cd2ebaa64ee4adf843338ce9f95cb214f606a (patch)
tree0a25ed650d6e434b1565292983a54cd6f3d66629 /src
parentFix IDNA conversion (diff)
ip_adresse() does not need binary representation in config
Diffstat (limited to 'src')
-rw-r--r--src/ejabberd_config.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ejabberd_config.erl b/src/ejabberd_config.erl
index 2e82e5a0b..d506c4c78 100644
--- a/src/ejabberd_config.erl
+++ b/src/ejabberd_config.erl
@@ -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) ->