summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-03-15 15:38:09 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-03-15 15:38:09 +0100
commit0babd8c0783242fc647cdcdfefb399c099e367ad (patch)
tree4cc656f9d1555349fb4b4068e0422f78634d0f7b /include
parentea590a5d80741c3bc030cb0a2fcb3c59da4fd078 (diff)
Change allocation of InspIRCd::Timers to be physically part of the object containing it
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h2
-rw-r--r--include/modules/dns.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 1ceb64693..a707eec73 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -371,7 +371,7 @@ class CoreExport InspIRCd
/** Timer manager class, triggers Timer timer events
*/
- TimerManager* Timers;
+ TimerManager Timers;
/** X-Line manager. Handles G/K/Q/E line setting, removal and matching
*/
diff --git a/include/modules/dns.h b/include/modules/dns.h
index 7f863fcca..c76c53805 100644
--- a/include/modules/dns.h
+++ b/include/modules/dns.h
@@ -159,7 +159,7 @@ namespace DNS
, id(0)
, creator(mod)
{
- ServerInstance->Timers->AddTimer(this);
+ ServerInstance->Timers.AddTimer(this);
}
virtual ~Request()