From c37642a9ee23defd358dd1eb9c21cf7c543ed6bb Mon Sep 17 00:00:00 2001 From: emerson Date: Sun, 2 Jul 2023 17:36:18 +0000 Subject: [PATCH] fix 421 command --- src/Client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.ts b/src/Client.ts index a8c4159..1dd607c 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -166,7 +166,7 @@ export class Client { // Exempting these from sending a 421, otherwise it will get annoying break; default: - this.sendMessage(this.server.name, "421", [message.command, 'Unknown command'], message.tags); + this.sendMessage(this.server.name, "421", [this.user.nick, message.command, 'Unknown command'], message.tags); console.log(`unknown command ${message.command}`); break; }