mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-18 11:14:39 -05:00
The most recent change to this file prevents "/tour autodq off" from working and sends a "That isn't a valid timeout value." error to the client. This is because it checks for a condition where timeout is greater than 1 hour, but when turning autodq off, the timeout variable is set to Infinity. This proposed change adds a check in the condition for if the timeout value is Infinity and does not send the error if that is the case (but if timeout is a numeric value greater than 1 hour, it still will fail). |
||
|---|---|---|
| .. | ||
| chat-commands | ||
| chat-plugins | ||
| static | ||
| tournaments | ||
| chat-formatter.ts | ||
| chat.ts | ||
| config-loader.ts | ||
| global-types.ts | ||
| global-variables.d.ts | ||
| index.ts | ||
| ip-tools.ts | ||
| ladders-local.ts | ||
| ladders-remote.ts | ||
| ladders.ts | ||
| loginserver.ts | ||
| monitor.ts | ||
| punishments.ts | ||
| room-battle.ts | ||
| room-game.ts | ||
| roomlogs.ts | ||
| rooms.ts | ||
| sockets.js | ||
| team-validator-async.ts | ||
| users.ts | ||
| verifier.ts | ||