Fix unmuting actually muting

This commit is contained in:
Marco Cunha committed 2012-09-10 22:24:11 +02:00
1 parent 0c68f59d1e
commit ccecd056fa
1 file changed
+2 -2
@@ -82,12 +82,12 @@ public class UnmuteCommand implements CommandExecutor {
}
if (!chan.mute(mutee)) {
if (!chan.unmute(mutee)) {
TownyMessaging.sendMsg(sender, "[TownyChat] Player is not muted in "+ Colors.White + chan.getName());
return true;
}
TownyMessaging.sendMsg(sender, "[TownyChat] " + Colors.White + mutee + Colors.Green +" is now muted in "+ Colors.White + chan.getName());
TownyMessaging.sendMsg(sender, "[TownyChat] " + Colors.White + mutee + Colors.Green +" is now unmuted in "+ Colors.White + chan.getName());
return true;
}
}