From 583b7782a00b8533cae5279b4c7289923d805607 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Wed, 31 Aug 2016 13:21:56 +0200 Subject: [PATCH] [Minor] Remove artefact --- src/plugins/lua/ratelimit.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua index 9ca645506c..d4b5f204a9 100644 --- a/src/plugins/lua/ratelimit.lua +++ b/src/plugins/lua/ratelimit.lua @@ -296,10 +296,6 @@ local function rate_test_set(task, func) table.insert(args, {settings['user'], make_rate_key ('user', {['user'] = auser}) }) end end - local asn - if settings['asn'][1] > 0 then - asn = task:get_mempool():get_variable('asn') - end local is_bounce = check_bounce(from_user) -- 2.47.3