]> granicus.if.org Git - ejabberd/commitdiff
Fix set_last command to work with recent ejabberd (#555)
authorBadlop <badlop@process-one.net>
Tue, 5 May 2015 10:45:53 +0000 (12:45 +0200)
committerBadlop <badlop@process-one.net>
Tue, 5 May 2015 10:45:53 +0000 (12:45 +0200)
src/mod_admin_extra.erl

index 49e6a9869782df20d1ca88fb946592c0dbb0fa09..12270a54ad36c7bd40f6069849f99b01c6c3467f 100644 (file)
@@ -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],