diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-22 20:14:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-22 20:14:33 +0000 |
commit | c2906e93be35abeea3e652273a7ff1928db8aae3 (patch) | |
tree | d15cb5b38a9f968c01e02e88ead768ff355d3169 /src/inspircd.cpp | |
parent | 39ca58c38ce96a37586d5cef381e321709be3326 (diff) |
Changed triggering time of OnBackgroundTimer to 5 secs (from 8)
Fixed typo in new functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3288 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 6a9c68847..b806776c2 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -637,14 +637,14 @@ int InspIRCd::Run() * timing using this event, so we dont have to * time this exactly). */ - if (((TIME % 8) == 0) && (!expire_run)) + if (((TIME % 5) == 0) && (!expire_run)) { expire_lines(); FOREACH_MOD(I_OnBackgroundTimer,OnBackgroundTimer(TIME)); expire_run = true; continue; } - else if ((TIME % 8) == 1) + else if ((TIME % 5) == 1) { expire_run = false; } |