Software /
code /
prosody-modules
Changeset
5814:9d3d719db285
mod_measure_active_users: Fix inverted logic (thanks mirux)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 11 Dec 2023 12:10:43 +0000 |
parents | 5813:429cc52c3ce8 |
children | 5815:14e17927c0ec |
files | mod_measure_active_users/mod_measure_active_users.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_measure_active_users/mod_measure_active_users.lua Fri Dec 08 20:08:35 2023 +0100 +++ b/mod_measure_active_users/mod_measure_active_users.lua Mon Dec 11 12:10:43 2023 +0000 @@ -7,7 +7,7 @@ local is_enabled = require "core.usermanager".user_is_enabled; -- Exclude disabled user accounts from the counts if usermanager supports that API -local count_disabled = not module:get_option_boolean("measure_active_users_count_disabled", is_enabled == nil); +local count_disabled = module:get_option_boolean("measure_active_users_count_disabled", is_enabled == nil); local get_last_active = module:depends("lastlog2").get_last_active;