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 /include | |
parent | ea590a5d80741c3bc030cb0a2fcb3c59da4fd078 (diff) |
Change allocation of InspIRCd::Timers to be physically part of the object containing it
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 2 | ||||
-rw-r--r-- | include/modules/dns.h | 2 |
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() |