diff options
| author | 2023-05-07 19:27:59 +0100 | |
|---|---|---|
| committer | 2023-05-07 19:27:59 +0100 | |
| commit | 1aead0066a82b24dc1f1968bfed324b1ca51ec0c (patch) | |
| tree | 2ee5733e433645de71f0c822d3805d8fc79171c7 /src/modules/m_codepage.cpp | |
| parent | Use GetPrintable in more places in the codepage module. (diff) | |
Fix some uses of NULL that have snuck back in during a merge.
Diffstat (limited to 'src/modules/m_codepage.cpp')
| -rw-r--r-- | src/modules/m_codepage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_codepage.cpp b/src/modules/m_codepage.cpp index 8aa747da7..183addb3f 100644 --- a/src/modules/m_codepage.cpp +++ b/src/modules/m_codepage.cpp @@ -233,7 +233,7 @@ private: Modes::ChangeList changelist; for (const auto& [_, mh] : ServerInstance->Modes.GetModes(MODETYPE_CHANNEL)) mh->RemoveMode(chan, changelist); - ServerInstance->Modes.Process(ServerInstance->FakeClient, chan, NULL, changelist, ModeParser::MODE_LOCALONLY); + ServerInstance->Modes.Process(ServerInstance->FakeClient, chan, nullptr, changelist, ModeParser::MODE_LOCALONLY); // The channel will be destroyed automatically by CheckDestroy. } |
