Software /
code /
prosody
Changeset
7213:193e4c65d218
prosodyctl: One month is 31 days, no 13 (thanks av6)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Feb 2016 18:47:11 +0100 |
parents | 7212:167dbd29fbeb |
children | 7214:a927edfb54ab 7215:a81d9a6e288f |
files | prosodyctl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/prosodyctl Sun Feb 28 18:45:27 2016 +0100 +++ b/prosodyctl Sun Feb 28 18:47:11 2016 +0100 @@ -1248,7 +1248,7 @@ cert_ok = false elseif not cert:validat(os.time() + 86400*7) then print(" Certificate expires within one week.") - elseif not cert:validat(os.time() + 86400*13) then + elseif not cert:validat(os.time() + 86400*31) then print(" Certificate expires within one month.") end if config.get(host, "component_module") == nil