fix(cmd): call to apply

This commit is contained in:
vulet 2020-11-02 23:31:07 +08:00
parent 2310bd29f2
commit a16da9a4cf

View file

@ -76,7 +76,7 @@ let CreateClient = (token, user_id) => {
args.push(matrixClient, room, userInput, registrar); args.push(matrixClient, room, userInput, registrar);
} }
registrar[command] && registrar[command].runQuery.call(null, args); registrar[command] && registrar[command].runQuery.apply(null, args);
} }
}); });