Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout cannot be set to 0 #11

Closed
DrSkunk opened this issue Jul 14, 2016 · 1 comment
Closed

Timeout cannot be set to 0 #11

DrSkunk opened this issue Jul 14, 2016 · 1 comment

Comments

@DrSkunk
Copy link
Contributor

DrSkunk commented Jul 14, 2016

When setting timeout to 0 (meaning no timeout), it reverts to the default 5 seconds timeout.
This is due to 0 meaning false on this line : https://github.com/prestonp/simple-rcon/blob/master/lib/rcon.js#L77

@prestonp
Copy link
Owner

Hey @whitebird v0.3.1 has been published on npm. Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants