summaryrefslogtreecommitdiff
path: root/nic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nic.lua')
-rw-r--r--nic.lua8
1 files changed, 1 insertions, 7 deletions
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},