Update ircbot.py

fixed memory leak