mirror of
https://git.phreedom.club/localhost_frssoft/fediauth.git
synced 2025-01-08 00:51:14 +00:00
micro fixes
This commit is contained in:
parent
6b95a65a08
commit
fd62b10c9c
2
join.lua
2
join.lua
|
@ -129,7 +129,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
minetest.show_formspec(playername, FORMNAMEFEDI, formspecfediadd)
|
||||
return
|
||||
end
|
||||
fedihandle = fields.fediverse_account_url:split("@")
|
||||
local fedihandle = fields.fediverse_account_url:split("@")
|
||||
if #fedihandle ~= 2 then
|
||||
minetest.chat_send_player(playername, minetest.colorize("#ff0000", "Incorrect format"))
|
||||
minetest.show_formspec(playername, FORMNAMEFEDI, formspecfediadd)
|
||||
|
|
|
@ -46,7 +46,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
minetest.chat_send_player(playername, minetest.colorize("#ff0000", "Try again, your input is incorrect"))
|
||||
return
|
||||
end
|
||||
fedihandle = fields.fediverse_account_url:split("@")
|
||||
local fedihandle = fields.fediverse_account_url:split("@")
|
||||
if #fedihandle ~= 2 then
|
||||
minetest.chat_send_player(playername, minetest.colorize("#ff0000", "Incorrect format"))
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue