Auto disable sauth, sban when not avaible (testing)
parent
1e6a9800b8
commit
0d5a1a716e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue