]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sasl.cpp
Improve the header messages of the filter and permchannels modules.
[user/henk/code/inspircd.git] / src / modules / m_sasl.cpp
index 6aaa83f3371abf10cbc6392aec7bb9cf59f9677c..e202bae45181f8538153c6bc2417d59823548240 100644 (file)
@@ -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);