server cleanup
* restrict reading of config files to times when the server is empty * collect entropy * remove hint how to convert pre-1.0 blacklists
This commit is contained in:
@@ -318,6 +318,7 @@ void serverms(int mode, int numplayers, int minremain, char *smapname, int milli
|
||||
}
|
||||
|
||||
buf.dataLength = len + po.length();
|
||||
entropy_add_byte(addr.host ^ (addr.host >> 24));
|
||||
enet_socket_send(pongsock, &addr, &buf, 1);
|
||||
if(std) *msend += (int)buf.dataLength;
|
||||
else *csend += (int)buf.dataLength;
|
||||
|
||||
Reference in New Issue
Block a user