Fix IRC command leak bug