summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-11 18:16:20 +0000
committerSadie Powell <sadie@witchery.services>2024-02-11 18:18:18 +0000
commit5c50bcb9c76afc6e2d8552ebc57674f385c674fc (patch)
treedbf7e8d4202cbef6528972d0e3501f7872aedc9b /src/main.cpp
parentcef56abea4cf302d20ba7ab33719e86276b672ea (diff)
Remove the time_t parameter from Tick and TickTimers.
Most uses of Tick do not use the parameter and even when it is used it is always the same as CurTime.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 83ddfa13f..4fd433ce1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -50,7 +50,7 @@ public:
{
}
- void Tick(time_t) override
+ void Tick() override
{
Anope::SaveDatabases();
}
@@ -65,7 +65,7 @@ public:
{
}
- void Tick(time_t) override
+ void Tick() override
{
FOREACH_MOD(OnExpireTick, ());
}
@@ -176,7 +176,7 @@ int main(int ac, char **av, char **envp)
/* Process timers */
if (Anope::CurTime - last_check >= Config->TimeoutCheck)
{
- TimerManager::TickTimers(Anope::CurTime);
+ TimerManager::TickTimers();
last_check = Anope::CurTime;
}