irc.py speed improvements, code cleanup
no definition found fix