summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-18 11:45:33 +0000
committerSadie Powell <sadie@witchery.services>2024-03-18 11:45:33 +0000
commit9ac4da0489ee70b2d18daca8c359b468ad28ed49 (patch)
tree7335d5923472498d8f4b9d9a4979e44cbc55e008
parentcb3848b7dbb7eeb809898b2fccab3ff2f0696e6e (diff)
Fix not storing the start time after calling UpdateTime.
-rw-r--r--src/init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 3dcf7460c..fa7fcff15 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -291,6 +291,8 @@ bool Anope::Init(int ac, char **av)
#endif
Anope::UpdateTime();
+ Anope::StartTime = Anope::CurTime;
+
Serialize::RegisterTypes();
/* Parse command line arguments */