Add /quit command

This commit is contained in:
Simon Ser 2020-06-06 10:43:39 +02:00
parent cb04f42fe7
commit 21584d5c3d
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -269,6 +269,9 @@ function executeCommand(s) {
var cmd = parts[0].toLowerCase().slice(1);
var args = parts.slice(1);
switch (cmd) {
case "quit":
disconnect();
break;
case "join":
var channel = args[0];
var msg = { command: "JOIN", params: [channel] };