aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbadlop <badlop@ono.com>2015-06-02 12:24:46 +0200
committerbadlop <badlop@ono.com>2015-06-02 12:24:46 +0200
commit0de7864880052a7ab1bb57888a9cd14772ff1ae2 (patch)
tree25a3e8c0c2e0b410f44042337d89a291f3eac4c6 /src
parentMerge branch 'master' of github.com:processone/ejabberd (diff)
parentThese arguments should be binary instead of strings, otherwise it won't work ... (diff)
Merge pull request #585 from CorCornelisse/master
push_roster* not updated on binarification
Diffstat (limited to 'src')
-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 c213efe42..0cb763bd9 100644
--- a/src/mod_admin_extra.erl
+++ b/src/mod_admin_extra.erl
@@ -378,12 +378,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",