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_denychans.cpp | |
| parent | Update author list. (diff) | |
| download | inspircd++-648f813f8c89e6e7d0ed5bda2c2149bee2babb09.tar.gz inspircd++-648f813f8c89e6e7d0ed5bda2c2149bee2babb09.tar.bz2 inspircd++-648f813f8c89e6e7d0ed5bda2c2149bee2babb09.zip | |
Switch from NULL to nullptr.
Diffstat (limited to 'src/modules/m_denychans.cpp')
| -rw-r--r-- | src/modules/m_denychans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_denychans.cpp b/src/modules/m_denychans.cpp index 52da3b51f..a1babeccb 100644 --- a/src/modules/m_denychans.cpp +++ b/src/modules/m_denychans.cpp @@ -168,7 +168,7 @@ public: // If there is no redirect chan, the user has enabled the antiredirect mode, or // the target channel redirects elsewhere we just tell the user and deny the join. - Channel* target = NULL; + Channel* target = nullptr; if (badchan.redirect.empty() || user->IsModeSet(antiredirectmode) || ((target = ServerInstance->Channels.Find(badchan.redirect)) && target->IsModeSet(redirectmode))) { |
