mirror of https://github.com/calzoneman/sync.git
Fix #822
This commit is contained in:
parent
c4a1d4b18c
commit
06b3916a6c
|
@ -378,7 +378,7 @@ module.exports = {
|
||||||
}
|
}
|
||||||
|
|
||||||
db.query("INSERT INTO `channel_ranks` VALUES (?, ?, ?) " +
|
db.query("INSERT INTO `channel_ranks` VALUES (?, ?, ?) " +
|
||||||
"ON DUPLICATE KEY UPDATE rank=?",
|
"ON DUPLICATE KEY UPDATE `rank`=?",
|
||||||
[name, rank, chan, rank], callback);
|
[name, rank, chan, rank], callback);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue