Search'n'replace remaining NULL occurrences (#816)

This commit is contained in:
J-P Nurmi
2015-02-26 20:58:01 +01:00
parent 832cec45f8
commit 75b210e841
46 changed files with 237 additions and 237 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ public:
for (MCString::const_iterator it1 = BeginNV(); it1 != EndNV(); ++it1) {
VCString vsKeys;
if (CZNC::Get().FindUser(it1->first) == NULL) {
if (CZNC::Get().FindUser(it1->first) == nullptr) {
DEBUG("Unknown user in saved data [" + it1->first + "]");
continue;
}
@@ -106,7 +106,7 @@ public:
Csock *pSock = Auth->GetSocket();
CUser *pUser = CZNC::Get().FindUser(sUser);
if (pSock == NULL || pUser == NULL)
if (pSock == nullptr || pUser == nullptr)
return CONTINUE;
const CString sPubKey = GetKey(pSock);