summaryrefslogtreecommitdiff
path: root/modules/commands/os_stats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/os_stats.cpp')
-rw-r--r--modules/commands/os_stats.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/commands/os_stats.cpp b/modules/commands/os_stats.cpp
index a8fabc9da..9cbe57503 100644
--- a/modules/commands/os_stats.cpp
+++ b/modules/commands/os_stats.cpp
@@ -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;
}