summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/modules.h4
-rw-r--r--include/timer.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h
index 8c37a8cc2..56bf2d18f 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1390,6 +1390,10 @@ class Server : public classbase
*/
virtual int CountUsers(chanrec* c);
+ /** Adds an InspTimer which will trigger at a future time
+ */
+ virtual void AddTimer(InspTimer* T);
+
/** Attempts to look up a nick and return a pointer to it.
* This function will return NULL if the nick does not exist.
*/
diff --git a/include/timer.h b/include/timer.h
index 894a0d0e1..143ff4d97 100644
--- a/include/timer.h
+++ b/include/timer.h
@@ -12,4 +12,6 @@ class InspTimer
virtual void Tick(time_t TIME) {}
};
+void TickTimers(time_t TIME);
+void AddTimer(InspTimer* T);