25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

Fix result type of "connected_users_info" command

Closes #1002.
This commit is contained in:
Holger Weiss 2016-03-14 00:51:12 +01:00
parent 91573a8e82
commit b871fbba1b

View 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).