diff options
author | Vladimír Čunát <vladimir.cunat@nic.cz> | 2019-03-14 11:00:13 +0100 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2019-06-13 15:03:15 +0200 |
commit | 6fca9bcbc210e4caba4760a7693818d683ca293f (patch) | |
tree | cea190427625537571e3060ee1e504390571144e /modules/detect_time_skew | |
parent | module loading nitpick: improve error message (diff) | |
download | knot-resolver-6fca9bcbc210e4caba4760a7693818d683ca293f.tar.xz knot-resolver-6fca9bcbc210e4caba4760a7693818d683ca293f.zip |
modules, docs: omit casting parameters of lua layers
Thanks to changes in this branch the functions are called with correctly
typed parameters already, so these weird casts can be deleted.
Diffstat (limited to 'modules/detect_time_skew')
-rw-r--r-- | modules/detect_time_skew/detect_time_skew.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/detect_time_skew/detect_time_skew.lua b/modules/detect_time_skew/detect_time_skew.lua index 9f04c3e9..c575273b 100644 --- a/modules/detect_time_skew/detect_time_skew.lua +++ b/modules/detect_time_skew/detect_time_skew.lua @@ -8,7 +8,6 @@ local event_id = nil -- Check time validity of RRSIGs in priming query -- luacheck: no unused args local function check_time_callback(pkt, req) - pkt = kres.pkt_t(pkt) if pkt:rcode() ~= kres.rcode.NOERROR then warn("[detect_time_skew] cannot resolve '.' NS") return nil |