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

Commit

Permalink
Custom tab ignore list is now case insensitive.
Browse files Browse the repository at this point in the history
  • Loading branch information
cnaude committed May 8, 2015
1 parent 2675115 commit 130dd96
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main/java/com/cnaude/purpleirc/Utilities/NetPackets.java
Expand Up @@ -66,9 +66,11 @@ public void addToTabList(String name, PurpleBot ircBot, Channel channel) {
}
String channelName = channel.getName();
if (ircBot.tabIgnoreNicks.containsKey(channelName)) {
if (ircBot.tabIgnoreNicks.get(channelName).contains(name)) {
plugin.logDebug("Not adding " + name + " to tab list.");
return;
for (String s : ircBot.tabIgnoreNicks.get(channelName)) {
if (s.equalsIgnoreCase(name)) {
plugin.logDebug("Not adding " + name + " to tab list.");
return;
}
}
}
try {
Expand Down

0 comments on commit 130dd96

Please sign in to comment.