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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user