quic: remove unnecessary bool conversion

The argument will always be a boolean already

PR-URL: https://github.com/nodejs/node/pull/34247
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
James M Snell committed 2020-07-09 07:14:02 -07:00
1 parent c535131627
commit bcde849be9
1 file changed
+1 -1
+1 -1
View File
@@ -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.