From bd4684e000617ef769d5adccf8799ddd935bf7e0 Mon Sep 17 00:00:00 2001 From: cheapie Date: Sun, 25 Nov 2018 15:19:56 -0600 Subject: Fix HTTP API detection --- nic.lua | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'nic.lua') diff --git a/nic.lua b/nic.lua index eb6ac9d..8760bdf 100644 --- a/nic.lua +++ b/nic.lua @@ -1,10 +1,4 @@ -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") - return -end - +local http = ... minetest.register_node("digistuff:nic", { description = "Digilines NIC", groups = {cracky=3}, -- cgit v1.2.3