]> granicus.if.org Git - ejabberd/commitdiff
Fix result type of "connected_users_info" command
authorHolger Weiss <holger@zedat.fu-berlin.de>
Sun, 13 Mar 2016 23:51:12 +0000 (00:51 +0100)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Sun, 13 Mar 2016 23:51:12 +0000 (00:51 +0100)
Closes #1002.

src/mod_admin_extra.erl

index 6180a16d1098343cab8295fbffe7bc66415bd012..ad3f10abb4ddac6e6258cce73c14075b8daf5094 100644 (file)
@@ -861,7 +861,8 @@ connected_users_info() ->
                              PI when is_integer(PI) -> PI;
                              _ -> nil
                          end,
-             {[U, $@, S, $/, R], atom_to_list(Conn), IPS, Port, PriorityI, NodeS, Uptime}
+             {binary_to_list(<<U/binary, $@, S/binary, $/, R/binary>>),
+              atom_to_list(Conn), IPS, Port, PriorityI, NodeS, Uptime}
       end,
       USRIs).