Skip to content

Commit

Permalink
additional fix for #316 -> do not send valid IP address from server
Browse files Browse the repository at this point in the history
  • Loading branch information
corrados committed Jun 5, 2020
1 parent 4c58ea8 commit e7621af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() ) );
}
}
Expand Down

0 comments on commit e7621af

Please sign in to comment.