additional fix for #316 -> do not send valid IP address from server

This commit is contained in:
Volker Fischer 2020-06-05 20:56:52 +02:00
parent 4c58ea8e8d
commit e7621af754

View file

@ -1257,7 +1257,7 @@ CVector<CChannelInfo> CServer::CreateChannelList()
// append channel ID, IP address and channel name to storing vectors
vecChanInfo.Add ( CChannelInfo (
i, // ID
vecChannels[i].GetAddress().InetAddr.toIPv4Address(), // IP address
QHostAddress ( QHostAddress::Null ).toIPv4Address(), // use invalid IP address (for privacy reason, #316)
vecChannels[i].GetChanInfo() ) );
}
}