fix
This commit is contained in:
parent
92c4e2ae36
commit
17b014c650
|
@ -230,7 +230,7 @@ self.levelToModes = level => {
|
|||
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) => {
|
||||
self.sql.query("select * from `f0ck`.`cfg` where `class` = ?"+(arguments[2]?"&& `key` = '"+arguments[2]+"'":""), kat, (err, rows) => {
|
||||
if(err || !rows)
|
||||
cb(err);
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user