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

Merge pull request #69 from PaulSD/master

Fix a bug when reading tuples from config
This commit is contained in:
badlop 2013-05-27 04:46:40 -07:00
commit 2639d262f1

View File

@ -720,7 +720,7 @@ strings_to_binary(L) when is_list(L) ->
strings_to_binary1(L)
end;
strings_to_binary(T) when is_tuple(T) ->
list_to_tuple(strings_to_binary(tuple_to_list(T)));
list_to_tuple(strings_to_binary1(tuple_to_list(T)));
strings_to_binary(X) ->
X.