add irc-commicchat-fix found in an old branch