1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 04:23:13 +02:00

Reset the stats properly.

Closes #465.
This commit is contained in:
Sadie Powell
2025-02-14 18:11:34 +00:00
parent 8110fddfe5
commit fbb8442252
+2
View File
@@ -128,6 +128,8 @@ class CommandOSStats : public Command
void DoStatsReset(CommandSource &source)
{
MaxUserCount = UserListByNick.size();
MaxUserTime = Anope::CurTime;
Stats::me->QueueUpdate();
source.Reply(_("Statistics reset."));
return;
}