diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-23 19:39:38 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-23 19:39:38 +0000 |
commit | 7907a1f1cc78ca532547c824cd221060b57f4fff (patch) | |
tree | bc1c7cd9c217656225ed760091c8846f221f3ed4 /include | |
parent | 6279a01bf5b6da48bedfdfe2d39dde69e46ae401 (diff) |
Incorporating InspTimer into safelist as a test
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3301 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 4 | ||||
-rw-r--r-- | include/timer.h | 2 |
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); |