Bugfix for "SERVERS
This commit is contained in:
parent
26534a28d3
commit
aaf56e4b92
1 changed files with 2 additions and 1 deletions
|
@ -255,7 +255,8 @@ const displayServerList = function (c) {
|
|||
|
||||
module.exports = {
|
||||
execute: function (c) {
|
||||
let subcmd = c.args[0]
|
||||
let subcmd;
|
||||
if(c.args.length>1) subcmd = c.args[0].toLowerCase();
|
||||
if (subcmd === 'servers') subcmd = 'serverlist'
|
||||
if (c.cmdName === 'serverinfo') subcmd = 'server'
|
||||
if (c.cmdName === 'serverlist' || c.cmdName === 'servers') subcmd = 'serverlist'
|
||||
|
|
Loading…
Reference in a new issue