From f310e1c98dc262249146025ffffb81334b38680d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 24 Jan 2023 02:58:46 +0000 Subject: Refactor the caching methods in User and rename to make more sense. --- src/modules/m_sslinfo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_sslinfo.cpp') 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; } -- cgit v1.3.1-10-gc9f91