From b3f4ade6de6a512dcdaad413ae7ce61ad005ffd2 Mon Sep 17 00:00:00 2001 From: cflakes Date: Tue, 19 Jan 2010 20:10:15 +0000 Subject: [PATCH] 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 --- modules/extra/flooddetach.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/extra/flooddetach.cpp b/modules/extra/flooddetach.cpp index 0352b072..602114d6 100644 --- a/modules/extra/flooddetach.cpp +++ b/modules/extra/flooddetach.cpp @@ -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);