diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-03-15 15:38:09 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-03-15 15:38:09 +0100 |
commit | 0babd8c0783242fc647cdcdfefb399c099e367ad (patch) | |
tree | 4cc656f9d1555349fb4b4068e0422f78634d0f7b /src/modules | |
parent | ea590a5d80741c3bc030cb0a2fcb3c59da4fd078 (diff) |
Change allocation of InspIRCd::Timers to be physically part of the object containing it
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/utils.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 9a8e63e57..e6abbfcf9 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -608,7 +608,7 @@ void SQLConn::DelayReconnect() if (!mod->retimer) { mod->retimer = new ReconnectTimer(mod); - ServerInstance->Timers->AddTimer(mod->retimer); + ServerInstance->Timers.AddTimer(mod->retimer); } } } diff --git a/src/modules/m_conn_join.cpp b/src/modules/m_conn_join.cpp index a5aba68df..631e5945c 100644 --- a/src/modules/m_conn_join.cpp +++ b/src/modules/m_conn_join.cpp @@ -46,7 +46,7 @@ class JoinTimer : public Timer : Timer(delay, ServerInstance->Time(), false) , user(u), channels(chans), ext(ex) { - ServerInstance->Timers->AddTimer(this); + ServerInstance->Timers.AddTimer(this); } bool Tick(time_t time) CXX11_OVERRIDE diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp index 263a5db1e..ee6f3fe74 100644 --- a/src/modules/m_spanningtree/utils.cpp +++ b/src/modules/m_spanningtree/utils.cpp @@ -128,7 +128,7 @@ TreeServer* SpanningTreeUtilities::FindServerID(const std::string &id) SpanningTreeUtilities::SpanningTreeUtilities(ModuleSpanningTree* C) : Creator(C), TreeRoot(NULL) { - ServerInstance->Timers->AddTimer(&RefreshTimer); + ServerInstance->Timers.AddTimer(&RefreshTimer); } CullResult SpanningTreeUtilities::cull() |