mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
Add Getter/Setter for ConnectDelay, ServerThrottle and AnonIPLimit
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2228 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -2071,6 +2071,13 @@ private:
|
||||
size_t m_uiPosNextUser;
|
||||
};
|
||||
|
||||
void CZNC::SetConnectDelay(unsigned int i) {
|
||||
if (m_uiConnectDelay != i && m_pConnectUserTimer != NULL) {
|
||||
m_pConnectUserTimer->Start(i);
|
||||
}
|
||||
m_uiConnectDelay = i;
|
||||
}
|
||||
|
||||
void CZNC::EnableConnectUser() {
|
||||
if (m_pConnectUserTimer != NULL)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user