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:30:43 +0000
commit858ff53bceeb4803db2e3447e6b1501114f69821 (patch)
tree16c68db67594234939f4d8e1baf8f8f3e068cc60
parentc1540fcbbdab360706e959841d1cf94f35a6336a (diff)
downloadacf-weblog-858ff53bceeb4803db2e3447e6b1501114f69821.tar.bz2
acf-weblog-858ff53bceeb4803db2e3447e6b1501114f69821.tar.xz
Fix typo causing exception in goodwords check
-rw-r--r--weblog-model.lua2
1 files changed, 1 insertions, 1 deletions
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