IRC ignores messages

Thanks to you message, I checked ping response. I messed it up. Instead of sending only “PONG :tmi.twitch.tv\r\n”, I was sending entire buffer, which was storing response. So I sent response + 490 bytes of some random data. Any message that twitch received after such ping response consisted of 490 bytes of random data + actual message. The problem is solved now.