mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 22:11:18 +00:00
* (bug 3066) rcon rate-limiting was not compatible with the eventual
integer overflow in Com_Milliseconds() (R1CH)
This commit is contained in:
parent
6f59617596
commit
7d13d6cd3b
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ void SVC_RemoteCommand( netadr_t from, msg_t *msg ) {
|
|||
|
||||
// TTimo - https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=534
|
||||
time = Com_Milliseconds();
|
||||
if (time<(lasttime+500)) {
|
||||
if ( (unsigned)( time - lasttime ) < 500u ) {
|
||||
return;
|
||||
}
|
||||
lasttime = time;
|
||||
|
|
Loading…
Reference in a new issue