Removed checking the same thing twice in one if statement.
This commit is contained in:
@@ -368,8 +368,7 @@ public class Chatgroups implements Module, Listener
|
|||||||
{
|
{
|
||||||
|
|
||||||
String rgroup = getGroup(recipient);
|
String rgroup = getGroup(recipient);
|
||||||
if ( rgroup != null && (ignore == null? true : ignore.sendTo(recipient))
|
if ( rgroup != null && (ignore == null? true : ignore.sendTo(recipient)) )
|
||||||
&& (ModuleLoader.exists("Ignore")? Ignore.getIgnoredBy(sender).sendTo(recipient)? true : false : true))
|
|
||||||
return rgroup.equals(group);
|
return rgroup.equals(group);
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user