summaryrefslogtreecommitdiff
path: root/include/timer.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-10 15:05:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-10 15:05:00 +0000
commit8a15b719601bd886487775c9709ba16cf3e39096 (patch)
treea8604ce4ba1b6cdf4e0b0180c82f3a6b9c717598 /include/timer.h
parent04e4d646ea2b779e098cd3546fdf56620b4f74a6 (diff)
timermanager never had a ServerInstance. Give it one so we can use InspIRCd::Time() rather than time()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6561 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/timer.h')
-rw-r--r--include/timer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/timer.h b/include/timer.h
index dbf83c2c8..e28987234 100644
--- a/include/timer.h
+++ b/include/timer.h
@@ -14,6 +14,8 @@
#ifndef INSPIRCD_TIMER_H
#define INSPIRCD_TIMER_H
+class InspIRCd;
+
/** Timer class for one-second resolution timers
* InspTimer provides a facility which allows module
* developers to create one-shot timers. The timer
@@ -114,6 +116,9 @@ class TimerManager : public Extensible
/** Set when ticking timers, to prevent deletion while iterating
*/
bool CantDeleteHere;
+ /** Creating server instance
+ */
+ InspIRCd* ServerInstance;
private:
/** The current timer set, a map of timergroups