mIRC's $status seems to get messed up when a ZNC to IRCd connection is severed, while the mIRC to ZNC connection continues.
This of course can easily mess with scripts that use $status to see if a connected to a network or not.
While connected to a active network (sending/receiving privmsgs), the "//echo -a $status" still reported "disconnecting"
Requirements:
1. NickServ Account
2. ZNC (software)
How to replicate:
1. Connect to a ZNC.
2. Have ZNC connect to a network
3. Join a channel.
4. Enter this commend from another connection: /msg NickServ ghost <NICK>
5. Let ZNC reconnect to IRCd.
6. //echo -a $status
7. "disconnecting"
My settings:
[check] Rejoin channels on kicked
[check] Rejoin channels on connect
[check] Keep channels open
A workaround is to disconnect/connect mIRC to the ZNC and the issue goes away.