From 983404094802dcdbe75111a4a48aa377aaa7c6f8 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 11 Mar 2026 16:41:50 +0000 Subject: [PATCH] Fix checking the wrong config option in os_stats. --- modules/commands/os_stats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/os_stats.cpp b/modules/commands/os_stats.cpp index 5f6567cd8..39a5266e4 100644 --- a/modules/commands/os_stats.cpp +++ b/modules/commands/os_stats.cpp @@ -107,7 +107,7 @@ class CommandOSStats : public Command { /* SQLINEs */ source.Reply(_("Current number of SQLINEs: \002%d\002"), sqlines->GetCount()); - timeout = Config->GetModule("operserv")->Get("sglineexpiry", "30d") + 59; + timeout = Config->GetModule("operserv")->Get("sqlineexpiry", "30d") + 59; if (timeout >= 172800) source.Reply(_("Default SQLINE expiry time: \002%d days\002"), timeout / 86400); else if (timeout >= 86400)