I wouldn't call that a bug as such, it's just the way mIRC works (ignoring leading/trailing whitespace).