mirror of
https://github.com/znc/znc.git
synced 2026-06-27 13:31:32 +02:00
Search'n'replace remaining NULL occurrences (#816)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user