The issue is not present while you're still connected, everything is fine in real time, queries get sent and received normally, you see both nicks in the same window and you can just conversate.

When you close mIRC and reconnect to the ZNC, the buffer will load in 2 different windows, one with nick1 and one with nick2. < This is the issue, loading the query properly from the ZNC buffer.