diff options
author | ementalo <suror@gmx.co.uk> | 2011-07-16 01:09:28 +0100 |
---|---|---|
committer | ementalo <suror@gmx.co.uk> | 2011-07-16 01:09:28 +0100 |
commit | a0554f566dad98e4aa5d719bb90ce13951c57535 (patch) | |
tree | f8cf1b2831efabee2d87b43e924fc99c4bfb20fd | |
parent | 1696d7ae71c9aa8682d127b788067617e38fda60 (diff) | |
download | Essentials-a0554f566dad98e4aa5d719bb90ce13951c57535.tar Essentials-a0554f566dad98e4aa5d719bb90ce13951c57535.tar.gz Essentials-a0554f566dad98e4aa5d719bb90ce13951c57535.tar.lz Essentials-a0554f566dad98e4aa5d719bb90ce13951c57535.tar.xz Essentials-a0554f566dad98e4aa5d719bb90ce13951c57535.zip |
This change did not commit
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandtempban.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtempban.java b/Essentials/src/com/earth2me/essentials/commands/Commandtempban.java index 291efd02d..f1d91d2ac 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtempban.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtempban.java @@ -21,9 +21,10 @@ public class Commandtempban extends EssentialsCommand throw new NotEnoughArgumentsException(); } 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")); + return; } final String time = getFinalArg(args, 1); final long banTimestamp = Util.parseDateDiff(time, true); |