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
Failed to generate hash of commit

View file

@ -9,6 +9,6 @@ struct cmd_results *cmd_ws_auto_back_and_forth(int argc, char **argv) {
return error; return error;
} }
config->auto_back_and_forth = 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); return cmd_results_new(CMD_SUCCESS, NULL, NULL);
} }