Archived
0

Removed checking the same thing twice in one if statement.

This commit is contained in:
minenash
2018-01-17 13:31:55 -05:00
parent 8057e7be17
commit 215ea2bdb2

View File

@@ -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;