diff options
author | Sadie Powell <sadie@witchery.services> | 2025-02-14 18:15:56 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-02-14 18:15:56 +0000 |
commit | ddce28c055ab2820760bf0ddffa353def3402b6d (patch) | |
tree | 91e84f3f193483131afd2a5b0cbed0c1428727c4 | |
parent | 947eabed6c1890030cab8812d72b60044b3f4b41 (diff) | |
parent | fbb8442252020fb9bb0091f4893709e3f3d962d6 (diff) |
Merge branch '2.0' into 2.1.
-rw-r--r-- | data/anope.example.conf | 3 | ||||
-rw-r--r-- | modules/operserv/os_stats.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/data/anope.example.conf b/data/anope.example.conf index 12475a2eb..4c73deaa3 100644 --- a/data/anope.example.conf +++ b/data/anope.example.conf @@ -1127,7 +1127,8 @@ module * db_sql_live module allows saving and loading databases using one of the SQL engines. * This module reads and writes to SQL in real time. Changes to the SQL tables * will be immediately reflected into Anope. This module should not be loaded - * in conjunction with db_sql. + * in conjunction with db_sql. It should also not be used on large networks as it + * executes quite a lot of queries which can cause performance issues. * */ #module diff --git a/modules/operserv/os_stats.cpp b/modules/operserv/os_stats.cpp index 3a804d31e..1190ac1fc 100644 --- a/modules/operserv/os_stats.cpp +++ b/modules/operserv/os_stats.cpp @@ -132,6 +132,8 @@ private: static void DoStatsReset(CommandSource &source) { MaxUserCount = UserListByNick.size(); + MaxUserTime = Anope::CurTime; + Stats::me->QueueUpdate(); source.Reply(_("Statistics reset.")); return; } |