properly filter out initial status changes (which make the ban log useless..)

master
flux 2020-05-07 20:27:55 +00:00
parent 416c2d311b
commit 9d5f53ccac
1 changed files with 1 additions and 1 deletions

View File

@ -974,7 +974,7 @@ function data.get_ban_log(limit)
FROM player_status_log
JOIN player ON player.id == player_status_log.player_id
JOIN player executor ON executor.id == player_status_log.executor_id
WHERE player.id != (?)
WHERE executor.id != ?
ORDER BY player_status_log.timestamp DESC
LIMIT ?
]]