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

Warnings on start up: invalid time '-1' #716

Closed
copywrong opened this Issue Jun 8, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@copywrong

copywrong commented Jun 8, 2017

After upgrade to v1.0.3, these warnings showed up:

WARNING **: settings_get_time(server_reconnect_time) : Invalid time '-1'

WARNING **: settings_get_time(server_connect_timeout) : Invalid time '-1'

Irssi: warning settings_get_time(lag_max_before_disconnect) : Invalid time '-1'

The latter warning is shown without interruption.

bug

Is there a way to disable these settings? "-1" used to work.

@ailin-nemui ailin-nemui added the bug label Jun 9, 2017

@ailin-nemui

This comment has been minimized.

Contributor

ailin-nemui commented Jun 9, 2017

I'm afraid I introduced this bug into irssi 1.0.3 when merging #706 and would recommend you revert this patch: d5bdf00 on top of 1.0.3 if you depend on the now broken functionality, until we fix this bug.

server_connect_timeout and lag_max_before_disconnect will also accept 0 as equivalent to -1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment