Merge pull request #8 from corrados/master

additional fix for #316 -> do not send valid IP address from server
This commit is contained in:
ignotus 2020-06-05 21:50:48 +02:00 committed by GitHub
commit 352389b8cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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() ) );
}
}