aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_sasl.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-12-03 13:37:42 +0000
committerGravatar Sadie Powell2021-12-03 13:37:42 +0000
commit2466c048e26c09461b4ced2a9dfcf6d87f0e1323 (patch)
treea4575894c6945acef81eb3dd91a206879dbec2ac /src/modules/m_sasl.cpp
parentFix a bunch of cases where module types were not marked as final. (diff)
Consistently use `!foo` instead of `foo == NULL`.
Diffstat (limited to 'src/modules/m_sasl.cpp')
-rw-r--r--src/modules/m_sasl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp
index b2c2beaf2..989d2c8da 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -439,7 +439,7 @@ class ModuleSASL final
void OnDecodeMetaData(Extensible* target, const std::string& extname, const std::string& extdata) override
{
- if ((target == NULL) && (extname == "saslmechlist"))
+ if ((!target) && (extname == "saslmechlist"))
cap.SetMechlist(extdata);
}
};