Merge pull request #8 from corrados/master
additional fix for #316 -> do not send valid IP address from server
This commit is contained in:
commit
352389b8cb
1 changed files with 1 additions and 1 deletions
|
@ -1257,7 +1257,7 @@ CVector<CChannelInfo> CServer::CreateChannelList()
|
||||||
// append channel ID, IP address and channel name to storing vectors
|
// append channel ID, IP address and channel name to storing vectors
|
||||||
vecChanInfo.Add ( CChannelInfo (
|
vecChanInfo.Add ( CChannelInfo (
|
||||||
i, // ID
|
i, // ID
|
||||||
vecChannels[i].GetAddress().InetAddr.toIPv4Address(), // IP address
|
QHostAddress ( QHostAddress::Null ).toIPv4Address(), // use invalid IP address (for privacy reason, #316)
|
||||||
vecChannels[i].GetChanInfo() ) );
|
vecChannels[i].GetChanInfo() ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue