Fix crash on join player

Set the joinplayer_timeout default value to 15 minutes
master
upsilon 2017-11-29 18:21:16 +01:00
parent e8ae320611
commit 5fa39e24b2
No known key found for this signature in database
GPG Key ID: A80DAE1F266E1C3C
2 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,7 @@ enable_local_ban = true
ban_entries_visible = false
# Maximum time between the on_prejoinplayer and the on_joinplayer callbacks, in seconds
joinplayer_timeout = 7
joinplayer_timeout = 900
# Whether to enable by-client translation using intllib.
enable_intllib = true

View File

@ -129,6 +129,7 @@ umabis.register_on_reload(function()
minetest.kick_player(name, "Sorry, it seems that your Umabis session was not prepared."..
"This is a bug. Use the latest version of Minetest and contact the server administrator"..
" (their nick is "..minetest.settings:get("name")..").")
return
end
session.timeout = nil