1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 12:56:38 +02:00

Cache timeoutcheck and fix a typo in example.conf

This commit is contained in:
Adam
2013-05-05 02:49:32 -04:00
parent e91de41278
commit ee2dcf11b8
4 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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;