shit
This commit is contained in:
parent
d998cfb26d
commit
e53573c28a
|
@ -231,7 +231,7 @@ self.getcfg = (kat, cb) => {
|
|||
// main, websrv, irc
|
||||
var out = {};
|
||||
self.sql.query("select * from `f0ck`.`cfg` where `class` = ?"+(arguments[2]?" && `key` = '"+arguments[2]+"'":""), kat, (err, rows) => {
|
||||
if(err || !rows)
|
||||
if(err || rows.length < 1)
|
||||
cb(err);
|
||||
else {
|
||||
rows.forEach(e => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user