diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-07-10 12:17:55 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-07-10 12:17:55 +0200 |
commit | acccaa39641500b8a691db4136e6571102a438ed (patch) | |
tree | 5faed16f0fc7ac11566d6df19561abd3c3ad8c43 /src/modules | |
parent | 8186e0b091a4f487448dcfab7144217a85870d4c (diff) |
Remove current time parameter of the Timer constructor
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_pgsql.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_conn_join.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_spanningtree/resolvers.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index 1f7d7c450..b89633ede 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -57,7 +57,7 @@ class ReconnectTimer : public Timer private: ModulePgSQL* mod; public: - ReconnectTimer(ModulePgSQL* m) : Timer(5, ServerInstance->Time(), false), mod(m) + ReconnectTimer(ModulePgSQL* m) : Timer(5, false), mod(m) { } bool Tick(time_t TIME); diff --git a/src/modules/m_conn_join.cpp b/src/modules/m_conn_join.cpp index 631e5945c..d5a095e7f 100644 --- a/src/modules/m_conn_join.cpp +++ b/src/modules/m_conn_join.cpp @@ -43,7 +43,7 @@ class JoinTimer : public Timer public: JoinTimer(LocalUser* u, SimpleExtItem<JoinTimer>& ex, const std::string& chans, unsigned int delay) - : Timer(delay, ServerInstance->Time(), false) + : Timer(delay, false) , user(u), channels(chans), ext(ex) { ServerInstance->Timers.AddTimer(this); diff --git a/src/modules/m_spanningtree/resolvers.cpp b/src/modules/m_spanningtree/resolvers.cpp index 80e8aeb0e..3d04a5085 100644 --- a/src/modules/m_spanningtree/resolvers.cpp +++ b/src/modules/m_spanningtree/resolvers.cpp @@ -128,7 +128,7 @@ void SecurityIPResolver::OnError(const DNS::Query *r) } CacheRefreshTimer::CacheRefreshTimer() - : Timer(3600, ServerInstance->Time(), true) + : Timer(3600, true) { } |