Fix issue with case sentivity in channel names.

fix-message-formatting
Danny van Heumen 12 years ago
parent 770681d6d8
commit 5b657da8b6

@ -488,7 +488,7 @@ public void onSuccess(IRCChannel channel)
{
try
{
if (!channel.getName().equals(
if (!channel.getName().equalsIgnoreCase(
actualChatRoom.getIdentifier()))
{
// If the channel name is not the
@ -1334,7 +1334,7 @@ else if (source instanceof IRCUser)
*/
private boolean isThisChatRoom(String chatRoomName)
{
return this.chatroom.getIdentifier().equals(chatRoomName);
return this.chatroom.getIdentifier().equalsIgnoreCase(chatRoomName);
}
/**

Loading…
Cancel
Save