summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/anope.example.conf3
-rw-r--r--modules/operserv/os_stats.cpp2
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;
}