prawnsalad/KiwiIRC — pull request #385 by TimPeterson (2013-09-09 01:43:06+00:00)
Title: Fix case-sensitivity bug where some received private messages fail to display

Private messages are distinguished from channel messages by comparing the destination against our own nick, but some of these comparisons were not properly case-insensitive, leading to some incoming messages going missing. Initially experienced intermittently when chatting with Mibbit users on an UnrealIRCd server, but can be reproduced as follows, assuming my nick is KiwiUser and another user issues these commands:

/msg KiwiUser This message works.
/msg kiwiuser This message fails.