mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Tweak srg_get_info result formatting (#1048)
This commit is contained in:
parent
a9e50468b6
commit
27b4217a9d
@ -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)];
|
||||||
|
Loading…
Reference in New Issue
Block a user