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
This commit is contained in:
Henrique Dias 2017-07-27 13:34:55 +01:00
parent 76047f4146
commit 63fb4c0c52

View File

@ -129,7 +129,7 @@ export default {
let pieces = this.value.split(' ')
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
}
}