mirror of
https://github.com/znc/znc.git
synced 2026-05-08 22:34:45 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user