summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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 6aaa83f33..e202bae45 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -213,7 +213,7 @@ class SaslAuthenticator
params.push_back(method);
const std::string fp = sslapi ? sslapi->GetFingerprint(user) : "";
- if (fp.size())
+ if (!fp.empty())
params.push_back(fp);
SendSASL(user, "*", 'S', params);