I don't think it should change if you uncheck both boxes in the "on connect always get" part of local info.
However, you can always use the command /localinfo to manually set it.
/help /localinfo
You could just put that into Perform in mIRC options and tell it what host and IP to use and it will set those properly each time you connect.