Fix other commands not working
Former-commit-id: aeff50d7041e0e411380db06789d431ccfcd849f [formerly 80fc2ef99d5bca4b98447d1218cea45178e973e9] [formerly 4b6b489ceefa94c96830439a1c3e2972641fe536 [formerly 01a9896b19
]]
Former-commit-id: d16f51eff82db054324ac67d87d044ed040c680b [formerly 0b18874eeee9a6db3946113224593b431c44c0c8]
Former-commit-id: 65e557d6703ca9d621da083c56caa7bb80ae089d
pull/726/head
parent
76047f4146
commit
63fb4c0c52
|
@ -129,7 +129,7 @@ export default {
|
||||||
let pieces = this.value.split(' ')
|
let pieces = this.value.split(' ')
|
||||||
|
|
||||||
for (let i = 0; i < this.user.commands.length; i++) {
|
for (let i = 0; i < this.user.commands.length; i++) {
|
||||||
if (pieces[0] === this.user.commands[0]) {
|
if (pieces[0] === this.user.commands[i]) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue