Mercurial > prosody-modules
diff mod_firewall/conditions.lib.lua @ 997:69dd4e4e54a2
mod_firewall/conditions: Remove unused variable
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 07 May 2013 09:31:57 +0100 |
parents | cec42f884475 |
children | 7ba6ed553c93 |
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..")";