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
@@ -28,7 +28,7 @@ private:
}
void SetTime(const CUser *pUser) {
SetNV(pUser->GetUserName(), CString(time(NULL)));
SetNV(pUser->GetUserName(), CString(time(nullptr)));
}
const CString FormatLastSeen(const CUser *pUser, const char* sDefault = "") {
@@ -98,7 +98,7 @@ public:
bool OnWebRequest(CWebSock& WebSock, const CString& sPageName, CTemplate& Tmpl) override {
if (sPageName == "index") {
CModules& GModules = CZNC::Get().GetModules();
Tmpl["WebAdminLoaded"] = CString(GModules.FindModule("webadmin") != NULL);
Tmpl["WebAdminLoaded"] = CString(GModules.FindModule("webadmin") != nullptr);
MTimeMulti mmSorted;
const MUsers& mUsers = CZNC::Get().GetUserMap();