It's not only just an double /exit , if you click into the X button and the Confirm Window will open and an code will use /exit -n or -nr then the mIRC will not exit too, here the problem is that the mIRC stop the /exit -n command if the confirm window is open but it shouldn't.