aboutsummaryrefslogtreecommitdiff
path: root/src/mod_admin_extra.erl
diff options
context:
space:
mode:
authorCor Cornelisse <cor@hyves.nl>2015-06-01 13:30:26 +0200
committerCor Cornelisse <cor@hyves.nl>2015-06-01 13:30:26 +0200
commit22d9011c0c1d72637ea7510a9e8c05da91f4fbd0 (patch)
tree59ce58fe8a078e9de76c9e29d72a2ad27c5a1369 /src/mod_admin_extra.erl
parentIn xmlrpc use process_unicode_codepoints instead of list_to_binary (diff)
These arguments should be binary instead of strings, otherwise it won't work properly
Diffstat (limited to 'src/mod_admin_extra.erl')
-rw-r--r--src/mod_admin_extra.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl
index bc49bae47..a4b786046 100644
--- a/src/mod_admin_extra.erl
+++ b/src/mod_admin_extra.erl
@@ -418,12 +418,12 @@ commands() ->
#ejabberd_commands{name = push_roster, tags = [roster],
desc = "Push template roster from file to a user",
module = ?MODULE, function = push_roster,
- args = [{file, string}, {user, string}, {host, string}],
+ args = [{file, binary}, {user, binary}, {host, binary}],
result = {res, rescode}},
#ejabberd_commands{name = push_roster_all, tags = [roster],
desc = "Push template roster from file to all those users",
module = ?MODULE, function = push_roster_all,
- args = [{file, string}],
+ args = [{file, binary}],
result = {res, rescode}},
#ejabberd_commands{name = push_alltoall, tags = [roster],
desc = "Add all the users to all the users of Host in Group",