aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ejabberd_sm.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_sm.erl b/src/ejabberd_sm.erl
index d75da9354..25a23f263 100644
--- a/src/ejabberd_sm.erl
+++ b/src/ejabberd_sm.erl
@@ -908,7 +908,7 @@ commands() ->
tags = [session],
desc = "List user's connected resources",
module = ?MODULE, function = user_resources,
- args = [{user, string}, {host, string}],
+ args = [{user, binary}, {host, binary}],
result = {resources, {list, {resource, string}}}}].
-spec connected_users() -> [binary()].