Merge branch 'f0ckdev' into 'master'

slice > splice

See merge request !94
This commit is contained in:
Flummi 2017-03-22 00:09:07 +00:00
commit 0de61065d9

View File

@ -5,7 +5,7 @@ module.exports = (lib) => {
level: 0, level: 0,
active: 1, active: 1,
func: (e) => { func: (e) => {
let args = lib.sql.escape(e.message).split(" ").splice(2); let args = lib.sql.escape(e.message).split(" ").slice(2);
let query = "select `id`,`username` from `f0ck`.`items` "; let query = "select `id`,`username` from `f0ck`.`items` ";
if(args.length > 0) if(args.length > 0)