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:
psychon
2010-12-31 09:14:03 +00:00
parent eb263869b0
commit 0456e3f0f2
2 changed files with 13 additions and 0 deletions
+7
View File
@@ -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;