diff options
author | Sadie Powell <sadie@witchery.services> | 2020-12-16 03:46:36 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-12-16 03:47:31 +0000 |
commit | 66dbd438f23a6beb06b0d44b9121deeb1e3f73bc (patch) | |
tree | 35214288e86506d739f0a4cdf59ba6e86c5ef6b5 /src/modules | |
parent | b7bc4b576c34dffcc9ea337a09f7c475b6ea2402 (diff) |
Use !empty instead of size when checking if containers are empty.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_sasl.cpp | 2 |
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); |