Use "/localinfo -u" and set the lookup method to "Server" in mIRC Options -> Connect -> Local Info.