This change did not commit

This commit is contained in:
ementalo 2011-07-16 01:09:28 +01:00
parent 1696d7ae71
commit a0554f566d

View File

@ -21,9 +21,10 @@ public class Commandtempban extends EssentialsCommand
throw new NotEnoughArgumentsException(); throw new NotEnoughArgumentsException();
} }
final User player = getPlayer(server, args, 0, true); final User player = getPlayer(server, args, 0, true);
if(player.isAuthorized("essentials.tempban.exempt")) if (player.isAuthorized("essentials.tempban.exempt"))
{ {
sender.sendMessage(Util.i18n("tempbanExempt")); sender.sendMessage(Util.i18n("tempbanExempt"));
return;
} }
final String time = getFinalArg(args, 1); final String time = getFinalArg(args, 1);
final long banTimestamp = Util.parseDateDiff(time, true); final long banTimestamp = Util.parseDateDiff(time, true);