From 858ff53bceeb4803db2e3447e6b1501114f69821 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 26 Nov 2015 15:30:43 +0000 Subject: Fix typo causing exception in goodwords check --- weblog-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'weblog-model.lua') diff --git a/weblog-model.lua b/weblog-model.lua index 91782c5..36e80e4 100644 --- a/weblog-model.lua +++ b/weblog-model.lua @@ -534,7 +534,7 @@ local function checkwords(logentry) end -- ignore blank lines - if string.find(thisline, "%S") then + if string.find(goodline, "%S") then _,instcnt = string.lower(logentry.URL):gsub(format.escapemagiccharacters(goodline), " ") --if string.find(logentry.URL,goodline) then if instcnt ~= 0 then -- cgit v1.2.3