]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sasl.cpp
Improve LIST and implement more extended list features.
[user/henk/code/inspircd.git] / src / modules / m_sasl.cpp
index fe1438ccffe7c59a8c1d747a58d72a8f8f476693..e8a0e12a908b2bcbf79f60bb044b1c8d7d038e9f 100644 (file)
@@ -172,8 +172,9 @@ class SaslAuthenticator
        void SendHostIP()
        {
                parameterlist params;
-               params.push_back(user->host);
+               params.push_back(user->GetRealHost());
                params.push_back(user->GetIPString());
+               params.push_back(SSLIOHook::IsSSL(&user->eh) ? "S" : "P");
 
                SendSASL(user, "*", 'H', params);
        }