diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-09-14 08:56:24 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-09-14 08:56:24 +0200 |
commit | 599ead0c90720990bc6907d0448744d109341f80 (patch) | |
tree | 2c5cfc4962835d115a56f33322deabe14bf92e51 | |
parent | f733c89e9297cff3dcaea5b02eeaa5eb3a640b94 (diff) | |
download | rspamd-599ead0c90720990bc6907d0448744d109341f80.tar.gz rspamd-599ead0c90720990bc6907d0448744d109341f80.zip |
[Minor] Ratelimit: don't copy data
-rw-r--r-- | src/plugins/lua/ratelimit.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua index 35b0a6cac..6731419c8 100644 --- a/src/plugins/lua/ratelimit.lua +++ b/src/plugins/lua/ratelimit.lua @@ -35,7 +35,6 @@ local rl_prefix = 'rl' local ip_score_lower_bound = 10 local ip_score_ham_multiplier = 1.1 local ip_score_spam_divisor = 1.1 -local user_data local rspamd_logger = require "rspamd_logger" local rspamd_redis = require "rspamd_redis" @@ -535,7 +534,7 @@ if opts then end if opts['custom_keywords'] then - custom_keywords, user_data = dofile(opts['custom_keywords']) + custom_keywords = dofile(opts['custom_keywords']) end if opts['user_keywords'] then |