From 215ea2bdb24e6ec563da100630ffdf2226911219 Mon Sep 17 00:00:00 2001 From: minenash Date: Wed, 17 Jan 2018 13:31:55 -0500 Subject: [PATCH] Removed checking the same thing twice in one if statement. --- src/com/redstoner/modules/chatgroups/Chatgroups.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/redstoner/modules/chatgroups/Chatgroups.java b/src/com/redstoner/modules/chatgroups/Chatgroups.java index fcded40..2b61961 100644 --- a/src/com/redstoner/modules/chatgroups/Chatgroups.java +++ b/src/com/redstoner/modules/chatgroups/Chatgroups.java @@ -368,8 +368,7 @@ public class Chatgroups implements Module, Listener { String rgroup = getGroup(recipient); - if ( rgroup != null && (ignore == null? true : ignore.sendTo(recipient)) - && (ModuleLoader.exists("Ignore")? Ignore.getIgnoredBy(sender).sendTo(recipient)? true : false : true)) + if ( rgroup != null && (ignore == null? true : ignore.sendTo(recipient)) ) return rgroup.equals(group); else return false;