# HG changeset patch # User Kim Alvefur # Date 1459329121 -7200 # Node ID 7cab309a26b2d19c7532ca15660a40461824ad7e # Parent d6fbb57a216cb8517f4a093cfb0dfd3efaaa07fd mod_throttle_unsolicited: Remove unused local [luacheck] diff -r d6fbb57a216c -r 7cab309a26b2 mod_throttle_unsolicited/mod_throttle_unsolicited.lua --- 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);