implement irc stub