aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-05-07 19:27:59 +0100
committerGravatar Sadie Powell2023-05-07 19:27:59 +0100
commit1aead0066a82b24dc1f1968bfed324b1ca51ec0c (patch)
tree2ee5733e433645de71f0c822d3805d8fc79171c7 /src/modules
parentUse 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')
-rw-r--r--src/modules/m_codepage.cpp2
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.
}