# HG changeset patch # User Kim Alvefur # Date 1511219219 -3600 # Node ID 263c0b044973634e34cba5ce9362aa92f7be2fd2 # Parent 462dece0a3c284a085dc42ee1e076ac81ff4159d mod_http_muc_log: Remove redundant else clauses diff -r 462dece0a3c2 -r 263c0b044973 mod_http_muc_log/mod_http_muc_log.lua --- a/mod_http_muc_log/mod_http_muc_log.lua Tue Nov 21 00:02:58 2017 +0100 +++ b/mod_http_muc_log/mod_http_muc_log.lua Tue Nov 21 00:06:59 2017 +0100 @@ -249,8 +249,6 @@ if next_when then next_when = datetime.date(next_when); module:log("debug", "Next message: %s", next_when); - else - next_when = ""; end module:log("debug", "Find prev date with messages"); @@ -258,8 +256,6 @@ if prev_when then prev_when = datetime.date(prev_when); module:log("debug", "Previous message: %s", prev_when); - else - prev_when = ""; end end