From 77e57afae1d3f4f531afa6556b0d3c45f8e1f418 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 5 May 2015 12:45:53 +0200 Subject: [PATCH] Fix set_last command to work with recent ejabberd (#555) --- src/mod_admin_extra.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl index 49e6a9869..12270a54a 100644 --- a/src/mod_admin_extra.erl +++ b/src/mod_admin_extra.erl @@ -446,7 +446,7 @@ commands() -> longdesc = "Timestamp is the seconds since" "1970-01-01 00:00:00 UTC, for example: date +%s", module = ?MODULE, function = set_last, - args = [{user, string}, {host, string}, {timestamp, integer}, {status, string}], + args = [{user, binary}, {host, binary}, {timestamp, integer}, {status, binary}], result = {res, rescode}}, #ejabberd_commands{name = private_get, tags = [private],