diff options
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; } }; |
