diff options
author | ShadowNinja <shadowninja@minetest.net> | 2015-02-16 23:22:21 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2015-02-16 23:22:21 -0500 |
commit | 4a0c8e158070b2e1ea72768f9396c642a4658f51 (patch) | |
tree | 4b4777bf80f6340dee3e3e35e59622636719b9e4 | |
parent | c497c7b10cbf9b119ee66021c8224d8b25c598a8 (diff) |
Fix incorrect variable name
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |