From 0bcbce87a7a1922bfd9bf332372683caa4ee1398 Mon Sep 17 00:00:00 2001 From: colm Date: Fri, 13 Feb 2015 23:15:02 +0000 Subject: [PATCH] Changed signature of user_sessions_info to take binaries rather than strings as it doesn't match anything in mnesia if it searches it by string --- mod_admin_extra/src/mod_admin_extra.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_admin_extra/src/mod_admin_extra.erl b/mod_admin_extra/src/mod_admin_extra.erl index f854402..66d9efe 100644 --- a/mod_admin_extra/src/mod_admin_extra.erl +++ b/mod_admin_extra/src/mod_admin_extra.erl @@ -285,7 +285,7 @@ commands() -> tags = [session], desc = "Get information about all sessions of a user", module = ?MODULE, function = user_sessions_info, - args = [{user, string}, {host, string}], + args = [{user, binary}, {host, binary}], result = {sessions_info, {list, {session, {tuple,