Mercurial > prosody-modules
changeset 4632:ab7dc5c5c782
mod_smacks: Fix typo in comment (thanks codespell)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 27 Jul 2021 00:21:42 +0200 |
parents | 921c607617b0 |
children | 63c91f2a86e5 |
files | mod_smacks/mod_smacks.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua Thu Jul 22 17:26:32 2021 +0200 +++ b/mod_smacks/mod_smacks.lua Tue Jul 27 00:21:42 2021 +0200 @@ -499,7 +499,7 @@ and session.hibernating == hibernate_time then -- wait longer if the timeout isn't reached because push was enabled for this session -- session.first_hibernated_push is the starting point for hibernation timeouts of those push enabled clients - -- wait for an additional resume_timeout seconds if no push occured since hibernation at all + -- wait for an additional resume_timeout seconds if no push occurred since hibernation at all local current_time = os_time(); local timeout_start = math_max(session.hibernating, session.first_hibernated_push or session.hibernating); if session.push_identifier ~= nil and not session.first_hibernated_push then