may have fixed irc function