Changeset

2143:7cab309a26b2

mod_throttle_unsolicited: Remove unused local [luacheck]
author Kim Alvefur <zash@zash.se>
date Wed, 30 Mar 2016 11:12:01 +0200
parents 2142:d6fbb57a216c
children 2144:ead81e222fde
files mod_throttle_unsolicited/mod_throttle_unsolicited.lua
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_throttle_unsolicited/mod_throttle_unsolicited.lua	Wed Mar 30 10:54:47 2016 +0200
+++ b/mod_throttle_unsolicited/mod_throttle_unsolicited.lua	Wed Mar 30 11:12:01 2016 +0200
@@ -5,8 +5,6 @@
 local throttle = require "util.throttle";
 local gettime = require "socket".gettime;
 
-local sessions = prosody.full_sessions;
-
 local max = module:get_option_number("unsolicited_messages_per_minute", 10);
 local multiplier = module:get_option_number("throttle_unsolicited_burst", 1);