Reply to PING
This commit is contained in:
@@ -106,6 +106,9 @@ export default class Client extends EventTarget {
|
||||
console.error("SASL error:", msg);
|
||||
this.close();
|
||||
break;
|
||||
case "PING":
|
||||
this.send({ command: "PONG", params: [msg.params[0]] });
|
||||
break;
|
||||
case "NICK":
|
||||
var newNick = msg.params[0];
|
||||
if (msg.prefix.name == this.nick) {
|
||||
|
||||
Reference in New Issue
Block a user