# HG changeset patch # User Kim Alvefur # Date 1726949256 -7200 # Node ID ccd6199cc6a2110454f04a75b062957157aa0e6b # Parent 7fcae9da893468b7de9128f9ba48cb10e8c9273e mod_csi: Update correct variables when counting states diff -r 7fcae9da8934 -r ccd6199cc6a2 plugins/mod_csi.lua --- 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