summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2020-04-15 15:32:26 -0500
committercheapie <no-email-for-you@example.com>2020-04-15 15:32:26 -0500
commit8384563085d187534e2240325c648d1ce91ba8bc (patch)
tree27d821e3fa368f41d7359547434e96c136cf6b9b
parent8dbef5eca7dc5daa56383351501494ea07dabe85 (diff)
downloaddigistuff-8384563085d187534e2240325c648d1ce91ba8bc.tar
digistuff-8384563085d187534e2240325c648d1ce91ba8bc.tar.gz
digistuff-8384563085d187534e2240325c648d1ce91ba8bc.tar.bz2
digistuff-8384563085d187534e2240325c648d1ce91ba8bc.tar.xz
digistuff-8384563085d187534e2240325c648d1ce91ba8bc.zip
Downgrade no-HTTP message to warning
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 90d8ea0..bcc7b40 100644
--- a/init.lua
+++ b/init.lua
@@ -24,8 +24,8 @@ end
local http = minetest.request_http_api()
if not http then
- minetest.log("error","digistuff is not allowed to use the HTTP API - digilines NIC will not be available!")
- minetest.log("error","If this functionality is desired, please add digistuff to your secure.http_mods setting")
+ minetest.log("warning","digistuff is not allowed to use the HTTP API - digilines NIC will not be available!")
+ minetest.log("warning","If this functionality is desired, please add digistuff to your secure.http_mods setting")
else
loadfile(string.format("%s%s%s.lua",minetest.get_modpath(minetest.get_current_modname()),DIR_DELIM,"nic"))(http)
end