24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-08 21:43:07 +02:00

Fix merging of not yaml config files

This commit is contained in:
Paweł Chmielowski 2015-05-25 15:23:38 +02:00
parent e54e556e01
commit 3af507cc43

View File

@ -391,7 +391,9 @@ include_config_files(Terms) ->
dict:store(Name, Val, Dict); dict:store(Name, Val, Dict);
_ -> _ ->
dict:update(rest, fun(L1) -> [Pair|L1] end, Dict) dict:update(rest, fun(L1) -> [Pair|L1] end, Dict)
end end;
(Tuple, Dict2) ->
dict:update(rest, fun(L2) -> [Tuple|L2] end, Dict2)
end, dict:from_list([{rest, []}]), L) end, dict:from_list([{rest, []}]), L)
end, end,