diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-16 18:19:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-16 18:19:22 +0000 |
commit | a94396b3273f3d9e18549fb977a4a89b6ce86e51 (patch) | |
tree | f83af1e65ad5c1f5fc032dfc42f2332ab3af70b3 /src/inspircd.cpp | |
parent | 0ce46290aeca32e386961a6c79f04113f59fccd7 (diff) |
Wtf, ive found the source of the drift, it adds the old delta to the new!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6685 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 4b2690c49..af2672102 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -938,7 +938,7 @@ time_t InspIRCd::Time(bool delta) int InspIRCd::SetTimeDelta(int delta) { int old = time_delta; - time_delta += delta; + time_delta = delta; this->Log(DEBUG, "Time delta set to %d (was %d)", time_delta, old); return old; } |