Commit 2e841c08 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Implement leave command.

parent 2811506d
...@@ -679,6 +679,9 @@ function handleInput() { ...@@ -679,6 +679,9 @@ function handleInput() {
message = rest; message = rest;
me = true; me = true;
break; break;
case '/leave':
socket.close();
return;
case '/op': case '/op':
case '/unop': case '/unop':
case '/kick': case '/kick':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment