Software /
code /
prosody-modules
Changeset
997:69dd4e4e54a2
mod_firewall/conditions: Remove unused variable
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 07 May 2013 09:31:57 +0100 |
parents | 996:37af655ca575 |
children | 998:6fdcebbd2284 |
files | mod_firewall/conditions.lib.lua |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_firewall/conditions.lib.lua Tue May 07 09:28:20 2013 +0100 +++ b/mod_firewall/conditions.lib.lua Tue May 07 09:31:57 2013 +0100 @@ -113,7 +113,6 @@ local function current_time_check(op, hour, minute) hour, minute = tonumber(hour), tonumber(minute); - local s = ""; local adj_op = op == "<" and "<" or ">="; -- Start time inclusive, end time exclusive if minute == 0 then return "(current_hour"..adj_op..hour..")";