Avoid negation of comparison operator (luacheck warning)

This commit is contained in:
Dmitry Kostenko 2022-04-01 01:01:44 +02:00 committed by sfan5
parent ac139ec03d
commit cc91477308

@ -1282,7 +1282,7 @@ local function handle_kill_command(killer, victim)
return false, S("@1 is already dead.", victim)
end
end
if not killer == victim then
if killer ~= victim then
core.log("action", string.format("%s killed %s", killer, victim))
end
-- Kill victim