diff options
author | snowleo <schneeleo@gmail.com> | 2011-07-20 17:10:55 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-07-20 17:10:55 +0200 |
commit | 88b8baa4eec46d365e6ff61d5bc3b787734e5dfa (patch) | |
tree | 92f94ba453f3363e66c950f2ac91bb6b951a1a11 | |
parent | d8aef06f46400692021e943d111eaf5d04bf3072 (diff) | |
download | Essentials-88b8baa4eec46d365e6ff61d5bc3b787734e5dfa.tar Essentials-88b8baa4eec46d365e6ff61d5bc3b787734e5dfa.tar.gz Essentials-88b8baa4eec46d365e6ff61d5bc3b787734e5dfa.tar.lz Essentials-88b8baa4eec46d365e6ff61d5bc3b787734e5dfa.tar.xz Essentials-88b8baa4eec46d365e6ff61d5bc3b787734e5dfa.zip |
Fix: Unmute players, even if they have essentials.mute.exempt permission
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandmute.java | 2 |
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;
|