mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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:
1 parent
c535131627
commit
bcde849be9
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user