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);