Limit the avatar requests by the server - clients may only upload one avatar within a certain time. This is checked by IP address, so two players within the same NAT system might have to wait for a few seconds.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#include <net/connectdata.h>
|
||||
|
||||
ConnectData::ConnectData()
|
||||
: m_sockfd(INVALID_SOCKET)
|
||||
: m_sockfd(INVALID_SOCKET), m_peerAddrSize(sizeof(m_peerAddr))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user