mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
Search'n'replace remaining NULL occurrences (#816)
This commit is contained in:
@@ -62,7 +62,7 @@ public:
|
||||
|
||||
void OnClientConnect(CZNCSock* pClient, const CString& sHost, unsigned short uPort) override {
|
||||
unsigned int *pCount = m_Cache.GetItem(sHost);
|
||||
if (sHost.empty() || pCount == NULL || *pCount < m_uiAllowedFailed) {
|
||||
if (sHost.empty() || pCount == nullptr || *pCount < m_uiAllowedFailed) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user