Skip to content

Commit

Permalink
quic: remove unnecessary bool conversion
Browse files Browse the repository at this point in the history
The argument will always be a boolean already

PR-URL: #34247
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
jasnell committed Jul 9, 2020
1 parent c535131 commit bcde849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/quic/core.js
Expand Up @@ -267,7 +267,7 @@ function onSocketClose(err) {
// Called by the C++ internals when the server busy state of
// the QuicSocket has been changed.
function onSocketServerBusy(on) {
this[owner_symbol][kServerBusy](!!on);
this[owner_symbol][kServerBusy](on);
}

// Called by the C++ internals when a new server QuicSession has been created.
Expand Down

0 comments on commit bcde849

Please sign in to comment.