aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_sasl.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-03 22:52:53 +0100
committerGravatar Sadie Powell2022-09-03 23:17:05 +0100
commit9203f40f41e4a735d379d13867d277c696fb28c5 (patch)
tree93a171344e801b44918229fdd6b8778293ab88aa /src/modules/m_sasl.cpp
parentFix some warnings noticed by the bugprone-* clang-tidy checkers. (diff)
Fix some warnings noticed by the readability-* clang-tidy checkers.
Diffstat (limited to 'src/modules/m_sasl.cpp')
-rw-r--r--src/modules/m_sasl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp
index 7bca715db..48cd996f2 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -210,7 +210,7 @@ public:
SendSASL(user, "*", 'S', params);
}
- SaslResult GetSaslResult(const std::string &result_)
+ static SaslResult GetSaslResult(const std::string &result_)
{
if (result_ == "F")
return SASL_FAIL;
@@ -351,7 +351,7 @@ public:
SaslAuthenticator *sasl = authExt.Get(user);
if (!sasl)
authExt.SetFwd(user, user, parameters[0], sslapi);
- else if (sasl->SendClientMessage(parameters) == false) // IAL abort extension --nenolod
+ else if (!sasl->SendClientMessage(parameters))
{
sasl->AnnounceState();
authExt.Unset(user);