From: Marek Vavrusa Date: Wed, 8 Jun 2016 07:20:57 +0000 (-0700) Subject: modules/predict: fixed a typo X-Git-Tag: v1.1.0~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=581cf904a97f42c0e20357f5d797d89cbf8bcb48;p=thirdparty%2Fknot-resolver.git modules/predict: fixed a typo --- diff --git a/modules/predict/predict.lua b/modules/predict/predict.lua index b570d7df0..86f5d44ac 100644 --- a/modules/predict/predict.lua +++ b/modules/predict/predict.lua @@ -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