summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2015-02-16 23:22:21 -0500
committerShadowNinja <shadowninja@minetest.net>2015-02-16 23:22:21 -0500
commit4a0c8e158070b2e1ea72768f9396c642a4658f51 (patch)
tree4b4777bf80f6340dee3e3e35e59622636719b9e4
parentc497c7b10cbf9b119ee66021c8224d8b25c598a8 (diff)
Fix incorrect variable name
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index cb30b8c..c00adb2 100644
--- a/init.lua
+++ b/init.lua
@@ -23,7 +23,7 @@ local insertion_pattern = "("..INS_CHAR.."?)"..INS_CHAR.."(%(?)(%d+)(%)?)"
local function make_getter(msgstrs)
return function(s, ...)
local str
- if strs then
+ if msgstrs then
str = msgstrs[s]
end
if not str or str == "" then