Skip to content

Commit

Permalink
=== instead of ==
Browse files Browse the repository at this point in the history
  • Loading branch information
Juerd committed May 8, 2024
1 parent b6caa6b commit f984657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/identification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Identification {
}

for (const connection of this.connections.values()) {
if (connection.socket.remotePort === fport && connection.socket.localPort === lport && connection.socket.remoteAddress == socket.remoteAddress && connection.socket.localAddress == socket.localAddress) {
if (connection.socket.remotePort === fport && connection.socket.localPort === lport && connection.socket.remoteAddress === socket.remoteAddress && connection.socket.localAddress === socket.localAddress) {
return socket.write(
`${lport}, ${fport} : USERID : TheLounge : ${connection.user}\r\n`
);
Expand Down

0 comments on commit f984657

Please sign in to comment.