Update to the flooddetach module: fixing a compile warning on x86 as reported by SilverLeo. Thanks!

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1717 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-01-19 20:10:15 +00:00
parent 911e778357
commit b3f4ade6de
+1 -1
View File
@@ -59,7 +59,7 @@ public:
for (it = m_chans.begin(); it != m_chans.end(); it++) {
// The timeout for this channel did not expire yet?
if (it->second.first + m_iThresholdSecs >= now)
if (it->second.first + (time_t)m_iThresholdSecs >= now)
continue;
CChan *pChan = m_pUser->FindChan(it->first);