Made lib.irc smarter