summaryrefslogtreecommitdiff
path: root/lcd.lua
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.noreply.github.com>2017-03-01 07:31:48 -0300
committerAuke Kok <sofar+github@foo-projects.org>2017-03-14 21:57:01 -0700
commit196a6da26c7eaff3a6eab3dabe0ac27f6777681d (patch)
tree9c93a5f36f791cb1e306a1ff8262de892737a6dc /lcd.lua
parent5caacf3019e4c75603cb52df1f98e656304df541 (diff)
Remove unused args.
Diffstat (limited to 'lcd.lua')
-rw-r--r--lcd.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lcd.lua b/lcd.lua
index 13fcfd7..10e1d48 100644
--- a/lcd.lua
+++ b/lcd.lua
@@ -140,7 +140,7 @@ local prepare_writing = function(pos)
return text
end
-local on_digiline_receive = function(pos, node, channel, msg)
+local on_digiline_receive = function(pos, _, channel, msg)
local meta = minetest.get_meta(pos)
local setchan = meta:get_string("channel")
if setchan ~= channel then return end
@@ -173,7 +173,7 @@ minetest.register_node("digilines:lcd", {
selection_box = lcd_box,
groups = {choppy = 3, dig_immediate = 2},
- after_place_node = function (pos, placer, itemstack)
+ after_place_node = function (pos)
local param2 = minetest.get_node(pos).param2
if param2 == 0 or param2 == 1 then
minetest.add_node(pos, {name = "digilines:lcd", param2 = 3})
@@ -189,7 +189,7 @@ minetest.register_node("digilines:lcd", {
clearscreen(pos)
end,
- on_receive_fields = function(pos, formname, fields, sender)
+ on_receive_fields = function(pos, _, fields, sender)
local name = sender:get_player_name()
if minetest.is_protected(pos, name) and not minetest.check_player_privs(name, {protection_bypass=true}) then
minetest.record_protection_violation(pos, name)