Handle some edge cases in IRC messages