diff --git a/server/identification.ts b/server/identification.ts index 44dff894..2fc1f758 100644 --- a/server/identification.ts +++ b/server/identification.ts @@ -66,7 +66,7 @@ class Identification { serverConnection(socket: Socket) { socket.on("error", (err: string) => log.error(`Identd socket error: ${err}`)); - socket.on("data", (data) => { + socket.once("data", (data) => { this.respondToIdent(socket, data); socket.end(); });