Change handling of irc color formatting slightly.

This improves the compatibility to other irc clients.