Skip to content

Commit bcde849

Browse files
committedJul 9, 2020
quic: remove unnecessary bool conversion
The argument will always be a boolean already PR-URL: #34247 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent c535131 commit bcde849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/internal/quic/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function onSocketClose(err) {
267267
// Called by the C++ internals when the server busy state of
268268
// the QuicSocket has been changed.
269269
function onSocketServerBusy(on) {
270-
this[owner_symbol][kServerBusy](!!on);
270+
this[owner_symbol][kServerBusy](on);
271271
}
272272

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

0 commit comments

Comments
 (0)