IRC.cpp patch