shit
This commit is contained in:
parent
17b014c650
commit
d998cfb26d
@ -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