summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-05 02:49:32 -0400
committerAdam <Adam@anope.org>2013-05-05 02:49:32 -0400
commitee2dcf11b8ff6cad5af4895738f7fe17e3baa9ee (patch)
treee3d7b9024f3d65b2b2ba069f3208b6b244de0346 /src/main.cpp
parente91de41278ff5993973999e4e5095360612ec056 (diff)
Cache timeoutcheck and fix a typo in example.conf
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 12fc1335c..99174279b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -157,7 +157,7 @@ int main(int ac, char **av, char **envp)
Log(LOG_DEBUG_2) << "Top of main loop";
/* Process timers */
- if (Anope::CurTime - last_check >= Config->GetBlock("options")->Get<time_t>("timeoutcheck"))
+ if (Anope::CurTime - last_check >= Config->TimeoutCheck)
{
TimerManager::TickTimers(Anope::CurTime);
last_check = Anope::CurTime;