Software /
code /
prosody
Changeset
13522:ccd6199cc6a2
mod_csi: Update correct variables when counting states
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 21 Sep 2024 22:07:36 +0200 |
parents | 13521:7fcae9da8934 |
children | 13523:365212120b82 |
files | plugins/mod_csi.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_csi.lua Fri Sep 06 20:49:44 2024 +0200 +++ b/plugins/mod_csi.lua Sat Sep 21 22:07:36 2024 +0200 @@ -34,9 +34,9 @@ if session.state == "inactive" then inactive = inactive + 1; elseif session.state == "active" then - inactive = inactive + 1; + active = active + 1; elseif session.state == "flushing" then - inactive = inactive + 1; + flushing = flushing + 1; end end end