diff options
| author | 2023-01-24 02:58:46 +0000 | |
|---|---|---|
| committer | 2023-01-24 02:58:46 +0000 | |
| commit | f310e1c98dc262249146025ffffb81334b38680d (patch) | |
| tree | edd19152137e71db58efc5fbd289f34ce9b6919b /src/modules/m_sslinfo.cpp | |
| parent | Clean up some remaining old format string stuff. (diff) | |
Refactor the caching methods in User and rename to make more sense.
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
| -rw-r--r-- | src/modules/m_sslinfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp index f08c99e0c..5341f5c96 100644 --- a/src/modules/m_sslinfo.cpp +++ b/src/modules/m_sslinfo.cpp @@ -165,7 +165,7 @@ public: void SetCertificate(User* user, ssl_cert* cert) override { ServerInstance->Logs.Debug(MODNAME, "Setting TLS client certificate for {}: {}", - user->GetFullHost(), sslext.ToNetwork(user, cert)); + user->GetMask(), sslext.ToNetwork(user, cert)); sslext.Set(user, cert); } }; @@ -342,7 +342,7 @@ public: if (!automatic) { ServerInstance->SNO.WriteGlobalSno('o', "{} ({}) [{}] failed to log into the \x02{}\x02 oper account because they are not connected using TLS.", - user->nick, user->MakeHost(), user->GetIPString(), oper->GetName()); + user->nick, user->GetRealUserHost(), user->GetAddress(), oper->GetName()); } return MOD_RES_DENY; } @@ -353,7 +353,7 @@ public: if (!automatic) { ServerInstance->SNO.WriteGlobalSno('o', "{} ({}) [{}] failed to log into the \x02{}\x02 oper account because they are not using the correct TLS client certificate.", - user->nick, user->MakeHost(), user->GetIPString(), oper->GetName()); + user->nick, user->GetRealUserHost(), user->GetAddress(), oper->GetName()); } return MOD_RES_DENY; } |
