This commit is contained in:
Calvin Montgomery 2019-10-26 20:43:44 -07:00
parent c4a1d4b18c
commit 06b3916a6c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}, },