irc.c defined color setting by type of output instead of color type