summaryrefslogtreecommitdiff
path: root/include/timers.h
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2011-06-07 06:16:57 +0200
committerDukePyrolator <DukePyrolator@anope.org>2011-06-07 06:16:57 +0200
commit74361bec0586466bda872d2d846a768d95d6cd5f (patch)
treec266220fe827e1d6cee3d987009a96be33620a11 /include/timers.h
parenta087e7f6643cc31246e7d7d4555d2dc8c0c485ad (diff)
added a Timer::SetSecs() function
Diffstat (limited to 'include/timers.h')
-rw-r--r--include/timers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/timers.h b/include/timers.h
index d479df23e..71ab8a153 100644
--- a/include/timers.h
+++ b/include/timers.h
@@ -63,6 +63,11 @@ class CoreExport Timer : public Extensible
*/
bool GetRepeat() const;
+ /** Set the interval between ticks
+ * @paramt t The new interval
+ */
+ void SetSecs(time_t t);
+
/** Returns the interval between ticks
* @return The interval
*/