mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-18 05:52:48 +00:00
C is a morally incorrect programming language
This commit is contained in:
parent
c46612329e
commit
694c094fac
1 changed files with 2 additions and 1 deletions
|
|
@ -279,7 +279,8 @@ shouldsign_t ShouldSignChallenge(uint8_t *message)
|
|||
now = time(NULL);
|
||||
memcpy(&then, message, sizeof(then));
|
||||
memcpy(&claimedIP, message + sizeof(then), sizeof(claimedIP));
|
||||
realIP = *I_GetNodeAddressInt(servernode);
|
||||
CONS_Printf("servernode: %d\n", servernode);
|
||||
realIP = I_GetNodeAddressInt(servernode);
|
||||
|
||||
if (abs(now - then) > 60*5)
|
||||
return SIGN_BADTIME;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue