mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +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;
|
||||
error -> []
|
||||
end,
|
||||
[{jlib:atom_to_binary(Title),
|
||||
io_lib:format("~p", [btl(Value)])} || {Title, Value} <- Opts].
|
||||
[{jlib:atom_to_binary(Title), btl(Value)} || {Title, Value} <- Opts].
|
||||
|
||||
btl([]) -> [];
|
||||
btl([B|L]) -> [btl(B)|btl(L)];
|
||||
|
Loading…
Reference in New Issue
Block a user