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_spanningtree/fmode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree/fmode.cpp') diff --git a/src/modules/m_spanningtree/fmode.cpp b/src/modules/m_spanningtree/fmode.cpp index e59812efa..789342207 100644 --- a/src/modules/m_spanningtree/fmode.cpp +++ b/src/modules/m_spanningtree/fmode.cpp @@ -54,7 +54,7 @@ CmdResult CommandFMode::Handle(User* who, Params& params) if ((TS == ourTS) && IS_SERVER(who)) flags |= ModeParser::MODE_MERGE; - ServerInstance->Modes.Process(who, chan, NULL, changelist, flags); + ServerInstance->Modes.Process(who, chan, nullptr, changelist, flags); return CmdResult::SUCCESS; } @@ -97,6 +97,6 @@ CmdResult CommandLMode::Handle(User* who, Params& params) if (chants == chan->age && IS_SERVER(who)) flags |= ModeParser::MODE_MERGE; - ServerInstance->Modes.Process(who, chan, NULL, changelist, flags); + ServerInstance->Modes.Process(who, chan, nullptr, changelist, flags); return CmdResult::SUCCESS; } -- cgit v1.3.1-10-gc9f91