summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2015-11-26 15:30:43 +0000
committerTed Trask <ttrask01@yahoo.com>2015-11-26 15:35:18 +0000
commit7297267105e0cc7f8b7e9fd7f56c05e4c258548b (patch)
tree1121ab3451c46f3b9e695782430bcc4b753d6a3f
parentda7a5057e24e4341ed5592c42a8b7122835043b7 (diff)
downloadacf-weblog-7297267105e0cc7f8b7e9fd7f56c05e4c258548b.tar.bz2
acf-weblog-7297267105e0cc7f8b7e9fd7f56c05e4c258548b.tar.xz
Fix typo causing exception in goodwords check
(cherry picked from commit 858ff53bceeb4803db2e3447e6b1501114f69821)
-rw-r--r--weblog-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/weblog-model.lua b/weblog-model.lua
index 645d281..76b9a75 100644
--- a/weblog-model.lua
+++ b/weblog-model.lua
@@ -532,7 +532,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