mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Make CTCP flood timer use monotonic time
Probably should use std::chrono types instead of int, but that'll be a later change
This commit is contained in:
@@ -228,9 +228,9 @@ class CIRCSock : public CIRCSocket {
|
||||
SCString m_ssPendingCaps;
|
||||
SCString m_ssPendingCapsPhase2;
|
||||
MCString m_msCapLsValues;
|
||||
time_t m_lastCTCP;
|
||||
unsigned long long m_lastCTCP;
|
||||
unsigned int m_uNumCTCP;
|
||||
static const time_t m_uCTCPFloodTime;
|
||||
static const unsigned long long m_uCTCPFloodTime;
|
||||
static const unsigned int m_uCTCPFloodCount;
|
||||
MCString m_mISupport;
|
||||
std::deque<CMessage> m_vSendQueue;
|
||||
|
||||
Reference in New Issue
Block a user