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
@@ -72,7 +72,7 @@ public:
}
// constructors
CAlias() : parent(NULL) {}
CAlias() : parent(nullptr) {}
CAlias(CModule *new_parent, const CString &new_name) : parent(new_parent) { SetName(new_name); }
// produce a command string from this alias' command list
@@ -330,7 +330,7 @@ public:
}
catch (std::exception &e)
{
CString my_nick = (GetNetwork() == NULL ? "" : GetNetwork()->GetCurNick());
CString my_nick = (GetNetwork() == nullptr ? "" : GetNetwork()->GetCurNick());
if (my_nick.empty()) my_nick = "*";
PutUser(CString(":znc.in 461 " + my_nick + " " + current_alias.GetName() + " :ZNC alias error: ") + e.what());
return HALTCORE;