IRC Being Randomly Disconnected

50 channels? Thats quite a lot.

Sounds like you are hitting the send buffer limit. Basically you are hitting the “I’m not receiving messages in these channels quick enough and now the queue is too long, bye!”