]> granicus.if.org Git - ejabberd/commitdiff
Tweak srg_get_info result formatting (#1048)
authorBadlop <badlop@process-one.net>
Wed, 6 Apr 2016 15:54:31 +0000 (17:54 +0200)
committerBadlop <badlop@process-one.net>
Wed, 6 Apr 2016 15:55:19 +0000 (17:55 +0200)
src/mod_admin_extra.erl

index c5525143e6c81a9d2a42fbd5138e885c58c4f6d9..cb794787658c9345d0b06e3f2a9789bf256b36ee 100644 (file)
@@ -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)];