aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sslinfo.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-10-26 16:46:19 +0000
committerGravatar Sadie Powell2025-10-26 16:46:19 +0000
commit9beffb09a77202cc344f7037097b3ce7b8fadb62 (patch)
treec77bd1a4141a52066c3f0f964ed470621041bd64 /modules/sslinfo.cpp
parentMerge branch 'insp4' into master. (diff)
Start splitting the user I/O interface from the network socket.
Diffstat (limited to 'modules/sslinfo.cpp')
-rw-r--r--modules/sslinfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/sslinfo.cpp b/modules/sslinfo.cpp
index 5de31e480..98e8b0247 100644
--- a/modules/sslinfo.cpp
+++ b/modules/sslinfo.cpp
@@ -163,7 +163,7 @@ public:
if (!luser || nosslext.Get(luser))
return nullptr;
- auto* ssliohook = SSLIOHook::IsSSL(&luser->eh);
+ auto* ssliohook = SSLIOHook::IsSSL(luser->io->GetSocket());
if (!ssliohook)
return nullptr;
@@ -436,7 +436,7 @@ public:
if (!localuser)
return;
- const SSLIOHook* const ssliohook = SSLIOHook::IsSSL(&localuser->eh);
+ const SSLIOHook* const ssliohook = SSLIOHook::IsSSL(localuser->io->GetSocket());
if (!ssliohook || cmd.sslapi.nosslext.Get(localuser))
return;
@@ -506,7 +506,7 @@ public:
auto& unknown = counts["Unknown"];
for (auto* user : ServerInstance->Users.GetLocalUsers())
{
- const auto* ssliohook = SSLIOHook::IsSSL(&user->eh);
+ const auto* ssliohook = SSLIOHook::IsSSL(user->io->GetSocket());
if (!ssliohook)
{
plaintext++;