mirror of
https://github.com/znc/znc.git
synced 2026-07-05 17:31:06 +02:00
@@ -414,7 +414,7 @@ bool CZNC::IsHostAllowed(const CString& sHostMask) const {
|
||||
bool CZNC::AllowConnectionFrom(const CString& sIP) const {
|
||||
if (m_uiAnonIPLimit == 0)
|
||||
return true;
|
||||
return (GetManager().GetAnonConnectionCount(sIP) < m_uiAnonIPLimit)
|
||||
return (GetManager().GetAnonConnectionCount(sIP) < m_uiAnonIPLimit);
|
||||
}
|
||||
|
||||
void CZNC::InitDirs(const CString& sArgvPath, const CString& sDataDir) {
|
||||
|
||||
Reference in New Issue
Block a user