summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-08-30 03:09:08 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-08-30 03:09:08 +0000
commitbcffb94eaa52b53678cbbba2bbdbc004f8394e87 (patch)
tree8a5f372d539c904b3eb37f177f3c2eceb44574bd /src
parent7161edab00d33f72bd2b6d530fd9fdba1b36dd91 (diff)
Fixed an uninitialized variable in Timers that could make NickServCollide fail
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2482 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/timers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timers.cpp b/src/timers.cpp
index dada034ec..02e5a3f08 100644
--- a/src/timers.cpp
+++ b/src/timers.cpp
@@ -25,6 +25,7 @@ Timer::Timer(long time_from_now, time_t now, bool repeating)
trigger = now + time_from_now;
secs = time_from_now;
repeat = repeating;
+ settime = now;
TimerManager::AddTimer(this);
}