From 64f1f0c47c183a2a49c418287ebbda28f6dead03 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Mon, 2 Oct 2023 19:05:09 +0300 Subject: [PATCH] squash! Add automatic delete messages and reformat message --- mastoapi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastoapi.lua b/mastoapi.lua index 87e5582..ccbed24 100644 --- a/mastoapi.lua +++ b/mastoapi.lua @@ -3,7 +3,7 @@ local server_name = minetest.settings:get("server_name") or "" local automatic_delete = minetest.settings:get_bool("fediauth.automatic_delete") function fediauth.send_code(code, account_handle) - expires_in = nil + local expires_in = nil if automatic_delete then expires_in = 3600 end