Auto disable sauth, sban when not avaible (testing)

master
Lejo1 2020-05-24 13:10:39 +02:00
parent 1e6a9800b8
commit 0d5a1a716e
No known key found for this signature in database
GPG Key ID: 7249ED75EF7EBABC
2 changed files with 4 additions and 2 deletions

View File

@ -9,8 +9,9 @@ local WP = minetest.get_worldpath()
local ie = minetest.request_insecure_environment()
if not ie then
error("insecure environment inaccessible"..
minetest.log("error", "insecure environment inaccessible"..
" - make sure this mod has been added to minetest.conf!")
return
end
-- read mt conf file settings

View File

@ -9,8 +9,9 @@ local hotlist = {}
local owner_id
if not ie then
error("insecure environment inaccessible"..
minetest.log("error", "insecure environment inaccessible"..
" - make sure this mod has been added to minetest.conf!")
return
end
-- requires library for db access