mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-04 14:05:32 +02:00
Only attempt to reconnect to Discord every five seconds
This commit is contained in:
parent
e9e4850ea2
commit
8edfb3072f
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ int DiscordState::update()
|
|||
}
|
||||
return rc;
|
||||
}
|
||||
|
||||
if (time(0) % 5 != 0) return -1;
|
||||
return discordTryConnect(p);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue