summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-07-20 17:10:55 +0200
committersnowleo <schneeleo@gmail.com>2011-07-20 17:10:55 +0200
commitcc29ebbbc986505aec5976d7cb52125be29b025d (patch)
tree085bc993c9a8ec076a8680a2f2f4b71bf2e89d50
parent0483635a5cba2f4a03458f8eea028e3e76c1eb7b (diff)
downloadEssentials-cc29ebbbc986505aec5976d7cb52125be29b025d.tar
Essentials-cc29ebbbc986505aec5976d7cb52125be29b025d.tar.gz
Essentials-cc29ebbbc986505aec5976d7cb52125be29b025d.tar.lz
Essentials-cc29ebbbc986505aec5976d7cb52125be29b025d.tar.xz
Essentials-cc29ebbbc986505aec5976d7cb52125be29b025d.zip
Fix: Unmute players, even if they have essentials.mute.exempt permission
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandmute.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandmute.java b/Essentials/src/com/earth2me/essentials/commands/Commandmute.java
index 8c8c2e6bf..c6022cc5c 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandmute.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandmute.java
@@ -22,7 +22,7 @@ public class Commandmute extends EssentialsCommand
}
User p = getPlayer(server, args, 0, true);
- if (p.isAuthorized("essentials.mute.exempt"))
+ if (!p.isMuted() && p.isAuthorized("essentials.mute.exempt"))
{
sender.sendMessage(Util.i18n("muteExempt"));
return;