mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
This patch splits CUserTimer into two other timers: CIRCNetworkPingTimer: This timer sends PING messages to connected client's and IRC servers. CIRCNetworkJoinTimer: This timer enforces the MaxJoin setting by only allowing a specified amount of channels to join at the same time. JoinChans() is modified to reset the ping timer once we hit the MaxJoin. This allows us to call it from any function without breaking the timing logic.