Fix other commands not working

pull/166/head
Henrique Dias 2017-07-27 13:34:55 +01:00
parent 989b6a525d
commit 01a9896b19
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
1 changed files with 1 additions and 1 deletions

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
}
}