summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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