Merge pull request #3113 from RedSoxFan/fix-ws-auto-back-and-forth

cmd_ws_auto_back_and_forth: fix negation
This commit is contained in:
Drew DeVault 2018-11-11 16:16:28 -05:00 committed by GitHub
commit ee6b0ce24a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,6 @@ struct cmd_results *cmd_ws_auto_back_and_forth(int argc, char **argv) {
return error;
}
config->auto_back_and_forth =
!parse_boolean(argv[0], config->auto_back_and_forth);
parse_boolean(argv[0], config->auto_back_and_forth);
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
}