The network name of a network and his server name isn't related.
If you have two different server giving the same network name whereas this two server isn't part of the same network, it's completely your problem since you know mirc is performing command according to the network name.