fix 421 command

This commit is contained in:
emerson 2023-07-02 17:36:18 +00:00
parent e9fb5348d1
commit c37642a9ee

View file

@ -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;
}