Software /
code /
prosody-modules
Changeset
2842:263c0b044973
mod_http_muc_log: Remove redundant else clauses
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 21 Nov 2017 00:06:59 +0100 |
parents | 2841:462dece0a3c2 |
children | 2843:53a76c994fc3 |
files | mod_http_muc_log/mod_http_muc_log.lua |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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