aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extra/ssl_openssl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/ssl_openssl.cpp')
-rw-r--r--modules/extra/ssl_openssl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/ssl_openssl.cpp b/modules/extra/ssl_openssl.cpp
index fdfa98e40..677eab529 100644
--- a/modules/extra/ssl_openssl.cpp
+++ b/modules/extra/ssl_openssl.cpp
@@ -1067,7 +1067,7 @@ public:
if (type != ExtensionType::USER)
return;
- auto* user = IS_LOCAL(static_cast<User*>(item));
+ auto* user = static_cast<User*>(item)->AsLocal();
if (!user || !user->io->GetModHook(this))
return;