Make znc.cpp to be compilable again.

This was broken since d735e9d881
This commit is contained in:
Alexey Sokolov
2011-03-28 17:26:08 +07:00
parent 076929bb50
commit 36ffa163a8
+1 -1
View File
@@ -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) {