summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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