modified ircbot & fixed some bugs