Fixed ranks manager removeRank code

This commit is contained in:
tastybento 2018-08-25 12:26:34 -07:00
parent ff909cf8a6
commit cdbceeb241

View File

@ -103,9 +103,9 @@ public class RanksManager {
*/
public boolean removeRank(String reference) {
return !reference.equalsIgnoreCase(OWNER_RANK_REF)
&& reference.equalsIgnoreCase(SUB_OWNER_RANK_REF)
&& reference.equalsIgnoreCase(TRUSTED_RANK_REF)
&& reference.equalsIgnoreCase(COOP_RANK_REF)
&& !reference.equalsIgnoreCase(SUB_OWNER_RANK_REF)
&& !reference.equalsIgnoreCase(TRUSTED_RANK_REF)
&& !reference.equalsIgnoreCase(COOP_RANK_REF)
&& !reference.equalsIgnoreCase(MEMBER_RANK_REF)
&& !reference.equalsIgnoreCase(VISITOR_RANK_REF)
&& !reference.equalsIgnoreCase(BANNED_RANK_REF)