Skip to content
Snippets Groups Projects
Commit 581cf904 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

modules/predict: fixed a typo

parent 1f5e4d04
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ end
function predict.drain(ev)
local deleted = 0
for key, val in pairs(predict.queue) do
local qname, qtype = key:match('(%S*)%s(.*)')
local qtype, qname = key:match('(%S*)%s(.*)')
worker.resolve(qname, kres.type[qtype], 1, kres.query.NO_CACHE)
predict.queue[key] = nil
deleted = deleted + 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment