diff --git a/src/web/ejabberd_web_admin.erl b/src/web/ejabberd_web_admin.erl index 8c291af09..ffd23b200 100644 --- a/src/web/ejabberd_web_admin.erl +++ b/src/web/ejabberd_web_admin.erl @@ -1703,7 +1703,10 @@ user_info(User, Server, Query, Lang) -> UserB, ServerB, R) of offline -> ""; - [{node, Node}, {conn, Conn}, {ip, {IP, Port}}] -> + Info when is_list(Info) -> + Node = proplists:get_value(node, Info), + Conn = proplists:get_value(conn, Info), + {IP, Port} = proplists:get_value(ip, Info), ConnS = case Conn of c2s -> "plain"; c2s_tls -> "tls";