summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNecrodoom <doomed.war@gmail.com>2013-03-25 16:11:48 +0200
committerKHobbits <rob@khobbits.co.uk>2013-03-29 03:10:45 +0000
commit829d03161ba9d180314c4717bd646b577dfb6560 (patch)
tree57a454e40e40da548a252fefeb2e0f4f3f166e2a
parentdcec29080c86ee68cdaee48a742df47c0c7322cf (diff)
downloadEssentials-829d03161ba9d180314c4717bd646b577dfb6560.tar
Essentials-829d03161ba9d180314c4717bd646b577dfb6560.tar.gz
Essentials-829d03161ba9d180314c4717bd646b577dfb6560.tar.lz
Essentials-829d03161ba9d180314c4717bd646b577dfb6560.tar.xz
Essentials-829d03161ba9d180314c4717bd646b577dfb6560.zip
[Fix] Sudo allowed on vanished players.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandsudo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsudo.java b/Essentials/src/com/earth2me/essentials/commands/Commandsudo.java
index b0df89a67..2d91657d6 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandsudo.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandsudo.java
@@ -27,7 +27,7 @@ public class Commandsudo extends EssentialsCommand
throw new NotEnoughArgumentsException();
}
- final User user = getPlayer(server, args, 0);
+ final User user = getPlayer(server, args, 0, true, false);
if(args[1].toLowerCase(Locale.ENGLISH).startsWith("c:"))
{
if (user.isAuthorized("essentials.sudo.exempt") && sender instanceof Player)