Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Commit

Permalink
Add new channel option custom-tab-ignore-duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
cnaude committed May 8, 2015
1 parent 5162a98 commit c7c5437
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -191,6 +191,7 @@ private boolean isPlayerOnline(String name, PurpleBot ircBot, String channel) {
if (ircBot.tabIgnoreDuplicates.get(channel)) {
for (Player player : plugin.getServer().getOnlinePlayers()) {
if (name.equalsIgnoreCase(player.getName())) {
plugin.logDebug("Not adidng to tab list due to player with same name.");
return true;
}
}
Expand Down

0 comments on commit c7c5437

Please sign in to comment.