diff options
| author | 2021-11-05 04:24:14 +0000 | |
|---|---|---|
| committer | 2021-11-05 04:24:14 +0000 | |
| commit | 0f2257136d71389c274f0ab6dd68db3239da1d71 (patch) | |
| tree | 255c6a21653ca3b7806983ec9f7796e50b243f19 /src/modules/extra/m_pgsql.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
| download | inspircd++-0f2257136d71389c274f0ab6dd68db3239da1d71.tar.gz inspircd++-0f2257136d71389c274f0ab6dd68db3239da1d71.tar.bz2 inspircd++-0f2257136d71389c274f0ab6dd68db3239da1d71.zip | |
Remove unused time_t field from the timer system.
This is equivalent to calling InspIRCd::Now() and is only actually
used in one place in modules.
Diffstat (limited to 'src/modules/extra/m_pgsql.cpp')
| -rw-r--r-- | src/modules/extra/m_pgsql.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index a6501c44e..998c25630 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -82,7 +82,7 @@ class ReconnectTimer final ReconnectTimer(ModulePgSQL* m) : Timer(5, false), mod(m) { } - bool Tick(time_t TIME) override; + bool Tick() override; }; struct QueueItem final @@ -618,7 +618,7 @@ class ModulePgSQL final } }; -bool ReconnectTimer::Tick(time_t time) +bool ReconnectTimer::Tick() { mod->retimer = NULL; mod->ReadConf(); |
