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_autoop.cpp | |
| parent | Update author list. (diff) | |
Switch from NULL to nullptr.
Diffstat (limited to 'src/modules/m_autoop.cpp')
| -rw-r--r-- | src/modules/m_autoop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_autoop.cpp b/src/modules/m_autoop.cpp index c7bd7039c..dca983b3e 100644 --- a/src/modules/m_autoop.cpp +++ b/src/modules/m_autoop.cpp @@ -48,7 +48,7 @@ public: return ServerInstance->Modes.FindPrefixMode(mid[0]); ModeHandler* mh = ServerInstance->Modes.FindMode(mid, MODETYPE_CHANNEL); - return mh ? mh->IsPrefixMode() : NULL; + return mh ? mh->IsPrefixMode() : nullptr; } ModResult AccessCheck(User* source, Channel* channel, Modes::Change& change) override @@ -117,7 +117,7 @@ public: changelist.push_add(given, memb->user->nick); } } - ServerInstance->Modes.Process(ServerInstance->FakeClient, memb->chan, NULL, changelist); + ServerInstance->Modes.Process(ServerInstance->FakeClient, memb->chan, nullptr, changelist); } } |
