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

Merge branch '2.0' into 2.1.

This commit is contained in:
Sadie Powell
2025-02-14 18:15:56 +00:00
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -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
+2
View File
@@ -132,6 +132,8 @@ private:
static void DoStatsReset(CommandSource &source)
{
MaxUserCount = UserListByNick.size();
MaxUserTime = Anope::CurTime;
Stats::me->QueueUpdate();
source.Reply(_("Statistics reset."));
return;
}