1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 17:04:47 +02:00

Fix checking the wrong config option in os_stats.

This commit is contained in:
Sadie Powell
2026-03-11 16:41:50 +00:00
parent bc9e035038
commit 9834040948
+1 -1
View File
@@ -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<time_t>("sglineexpiry", "30d") + 59;
timeout = Config->GetModule("operserv")->Get<time_t>("sqlineexpiry", "30d") + 59;
if (timeout >= 172800)
source.Reply(_("Default SQLINE expiry time: \002%d days\002"), timeout / 86400);
else if (timeout >= 86400)