summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickael Remond <mremond@process-one.net>2016-04-06 17:56:01 +0200
committerMickael Remond <mremond@process-one.net>2016-04-06 17:56:01 +0200
commit0916694e0e7380ed336541d2eb05fa8c702b8dd3 (patch)
treeafc869ecaea546c250e4f5578405ec75bfce943f
parentLog Elixir test result for investigation and include this log file in travis ... (diff)
parentTweak srg_get_info result formatting (#1048) (diff)
Merge branch 'master' of github.com:processone/ejabberd
-rw-r--r--src/mod_admin_extra.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl
index c5525143..cb794787 100644
--- a/src/mod_admin_extra.erl
+++ b/src/mod_admin_extra.erl
@@ -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)];