aboutsummaryrefslogtreecommitdiffstats
path: root/res
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 /res
parent3c022ef91a2f56c9a1573d0d4134d04e8ee5ca56 (diff)
Ignore empty slash command
Diffstat (limited to 'res')
-rw-r--r--res/client.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/client.js b/res/client.js
index 9669afe..90e026c 100644
--- a/res/client.js
+++ b/res/client.js
@@ -1969,6 +1969,9 @@ client_Main.prototype = {
}
var args = StringTools.trim(command).split(" ");
command = HxOverrides.substr(args.shift(),1,null);
+ if(command.length == 0) {
+ return false;
+ }
switch(command) {
case "ban":
this.mergeRedundantArgs(args,0,2);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage