It may be a script you are running try /remote off as soon as you are connected and see if this helps solve anything.
or
Totally uninstall and reinstall mIRC with a fresh copy from this website (not sure if you did already as you weren't really clear on it)