go to options->IRC->Options->When closing mIRC confirm if and disable whatever you want ;b