aboutsummaryrefslogtreecommitdiffstats
path: root/include/clientprotocolmsg.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-07-22 18:33:38 +0100
committerGravatar Sadie Powell2022-07-22 18:53:21 +0100
commit648f813f8c89e6e7d0ed5bda2c2149bee2babb09 (patch)
tree5357669e57bb381c80bfdbd24ed4057a99db8e5b /include/clientprotocolmsg.h
parentUpdate author list. (diff)
Switch from NULL to nullptr.
Diffstat (limited to 'include/clientprotocolmsg.h')
-rw-r--r--include/clientprotocolmsg.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/clientprotocolmsg.h b/include/clientprotocolmsg.h
index c0a85a792..22a462b63 100644
--- a/include/clientprotocolmsg.h
+++ b/include/clientprotocolmsg.h
@@ -69,7 +69,7 @@ public:
* @param user User to send the numeric to. May be unregistered, must remain valid as long as this object is alive.
*/
Numeric(const ::Numeric::Numeric& num, User* user)
- : ClientProtocol::Message(NULL, (num.GetServer() ? num.GetServer() : ServerInstance->FakeClient->server)->GetPublicName())
+ : ClientProtocol::Message(nullptr, (num.GetServer() ? num.GetServer() : ServerInstance->FakeClient->server)->GetPublicName())
{
if (user->registered & REG_NICK)
PushParamRef(user->nick);
@@ -83,7 +83,7 @@ public:
* @param target Target string, must stay valid as long as this object is alive.
*/
Numeric(const ::Numeric::Numeric& num, const std::string& target)
- : ClientProtocol::Message(NULL, (num.GetServer() ? num.GetServer() : ServerInstance->FakeClient->server)->GetPublicName())
+ : ClientProtocol::Message(nullptr, (num.GetServer() ? num.GetServer() : ServerInstance->FakeClient->server)->GetPublicName())
{
PushParamRef(target);
InitFromNumeric(num);
@@ -93,7 +93,7 @@ public:
* @param num Numeric number.
*/
Numeric(unsigned int num)
- : ClientProtocol::Message(NULL, ServerInstance->Config->GetServerName())
+ : ClientProtocol::Message(nullptr, ServerInstance->Config->GetServerName())
{
InitCommand(num);
PushParam("*");
@@ -113,7 +113,7 @@ public:
*/
Join()
: ClientProtocol::Message("JOIN")
- , memb(NULL)
+ , memb(nullptr)
{
}
@@ -342,8 +342,8 @@ public:
*/
Mode()
: ClientProtocol::Message("MODE", ServerInstance->FakeClient)
- , chantarget(NULL)
- , usertarget(NULL)
+ , chantarget(nullptr)
+ , usertarget(nullptr)
{
}