aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2022-11-08 21:40:08 +0300
committerRblSb <msrblsb@gmail.com>2022-11-08 21:40:08 +0300
commitd3f6d4e6434527569d13f211a0eb074c5a11992e (patch)
tree16c163fe48d3fb4973ec7666126265976efc496a /src/client
parent3c022ef91a2f56c9a1573d0d4134d04e8ee5ca56 (diff)
Ignore empty slash command
Diffstat (limited to 'src/client')
-rw-r--r--src/client/Main.hx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/Main.hx b/src/client/Main.hx
index 26d4518..ec3d89c 100644
--- a/src/client/Main.hx
+++ b/src/client/Main.hx
@@ -856,6 +856,7 @@ class Main {
if (!command.startsWith("/")) return false;
final args = command.trim().split(" ");
command = args.shift().substr(1);
+ if (command.length == 0) return false;
switch (command) {
case "ban":
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage