Fixes: Travis warnings

master
shivajiva101 2020-05-07 10:07:38 +01:00 committed by GitHub
parent b4ecb070af
commit 7e06739e00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1667,7 +1667,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
elseif fields.tban then
if selected == owner then
fs.info = "you do not have permission to do that!"
display_record(name, playername)else
else
local t = parse_time(ESC(fields.duration)) + os.time()
create_ban_record(selected, name, ESC(fields.reason), t)
end
@ -1781,7 +1781,6 @@ minetest.register_chatcommand("ban_record", {
if not source.server and chk then
return false, "Insufficient privileges to access that information"
end
return true, display_record(name, playername)
end
})