summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-22 20:14:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-22 20:14:33 +0000
commitc2906e93be35abeea3e652273a7ff1928db8aae3 (patch)
treed15cb5b38a9f968c01e02e88ead768ff355d3169 /src/modules.cpp
parent39ca58c38ce96a37586d5cef381e321709be3326 (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/modules.cpp')
-rw-r--r--src/modules.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 266556dac..6f1236f60 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -405,6 +405,7 @@ long Server::GetChannelCount()
chanrec* Server::GetChannelIndex(long index)
{
+ int target = 0;
for (chan_hash::iterator n = chanlist.begin(); n != chanlist.end(); n++, target++)
{
if (index == target)