diff options
| author | 2022-07-22 18:33:38 +0100 | |
|---|---|---|
| committer | 2022-07-22 18:53:21 +0100 | |
| commit | 648f813f8c89e6e7d0ed5bda2c2149bee2babb09 (patch) | |
| tree | 5357669e57bb381c80bfdbd24ed4057a99db8e5b /src/modules/m_rmode.cpp | |
| parent | Update author list. (diff) | |
Switch from NULL to nullptr.
Diffstat (limited to 'src/modules/m_rmode.cpp')
| -rw-r--r-- | src/modules/m_rmode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } }; |
