diff options
author | cheapie <no-email-for-you@example.com> | 2018-11-25 15:19:56 -0600 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2018-11-25 15:19:56 -0600 |
commit | bd4684e000617ef769d5adccf8799ddd935bf7e0 (patch) | |
tree | 8f03fd6fad1b2de614a7ccacbf8e70f8e1e9c922 /nic.lua | |
parent | 395d6f0ccfcaddbb9ded79ac4ca913c87453562f (diff) | |
download | digistuff-bd4684e000617ef769d5adccf8799ddd935bf7e0.tar digistuff-bd4684e000617ef769d5adccf8799ddd935bf7e0.tar.gz digistuff-bd4684e000617ef769d5adccf8799ddd935bf7e0.tar.bz2 digistuff-bd4684e000617ef769d5adccf8799ddd935bf7e0.tar.xz digistuff-bd4684e000617ef769d5adccf8799ddd935bf7e0.zip |
Fix HTTP API detection
Diffstat (limited to 'nic.lua')
-rw-r--r-- | nic.lua | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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}, |