Correct row header supplied to format #10 param
master
shivajiva101 2020-01-13 00:55:48 +00:00 committed by GitHub
parent ca8a38bdf0
commit e034f17c5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -935,7 +935,7 @@ local function update_ban_record(id, source, reason, name)
INSERT INTO expired VALUES (%i,'%s','%s',%i,'%s',%i,'%s','%s',%i,'%s');
DELETE FROM active WHERE id = %i;
]]):format(row.id, row.name, row.source, row.created, escape_string(row.reason),
row.expires, source, reason, ts, row.last_pos, row.id)
row.expires, source, reason, ts, row.pos, row.id)
db_exec(stmt)
bans[id] = nil -- update cache
-- log event