Fixed several IRC bugs