Fix IRC mode command handling