25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Merge branch 'master' of github.com:processone/ejabberd

This commit is contained in:
Mickael Remond 2016-04-06 17:56:01 +02:00
commit 0916694e0e

View File

@ -1309,8 +1309,7 @@ srg_get_info(Group, Host) ->
Os when is_list(Os) -> Os; Os when is_list(Os) -> Os;
error -> [] error -> []
end, end,
[{jlib:atom_to_binary(Title), [{jlib:atom_to_binary(Title), btl(Value)} || {Title, Value} <- Opts].
io_lib:format("~p", [btl(Value)])} || {Title, Value} <- Opts].
btl([]) -> []; btl([]) -> [];
btl([B|L]) -> [btl(B)|btl(L)]; btl([B|L]) -> [btl(B)|btl(L)];