Improved IRC handler, which I am told uses deprecated functionality