From 648f813f8c89e6e7d0ed5bda2c2149bee2babb09 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 22 Jul 2022 18:33:38 +0100 Subject: Switch from NULL to nullptr. --- src/modules/m_rmode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_rmode.cpp') diff --git a/src/modules/m_rmode.cpp b/src/modules/m_rmode.cpp index b084eab54..78d9ff4e2 100644 --- a/src/modules/m_rmode.cpp +++ b/src/modules/m_rmode.cpp @@ -76,7 +76,7 @@ public: changelist.push_remove(mh, u->nick); } } - else if ((lm = mh->IsListModeBase()) && ((ml = lm->GetList(chan)) != NULL)) + else if ((lm = mh->IsListModeBase()) && ((ml = lm->GetList(chan)) != nullptr)) { for (const auto& entry : *ml) { @@ -90,7 +90,7 @@ public: changelist.push_remove(mh); } - ServerInstance->Modes.Process(user, chan, NULL, changelist); + ServerInstance->Modes.Process(user, chan, nullptr, changelist); return CmdResult::SUCCESS; } }; -- cgit v1.3.1-10-gc9f91