aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_config.erl
diff options
context:
space:
mode:
authorbadlop <badlop@ono.com>2013-05-27 04:46:40 -0700
committerbadlop <badlop@ono.com>2013-05-27 04:46:40 -0700
commit2639d262f16bf4ddcea2c86b298c2e0ecba2ce5b (patch)
tree5fe0000c583fc71d7d2b21b876b9c49e1ec9af0e /src/ejabberd_config.erl
parentMerge pull request #67 from anton-ryzhov/config_example (diff)
parentFix a bug when reading tuples from config (diff)
Merge pull request #69 from PaulSD/master
Fix a bug when reading tuples from config
Diffstat (limited to 'src/ejabberd_config.erl')
-rw-r--r--src/ejabberd_config.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_config.erl b/src/ejabberd_config.erl
index 0a4208b7f..269b0a89b 100644
--- a/src/ejabberd_config.erl
+++ b/src/ejabberd_config.erl
@@ -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.