From bb1e5a7b60ea200ddae99f263a38a219879f9617 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 8 Mar 2026 17:01:22 +0000 Subject: Replace IS_* with member functions. - All user types get an Is* function. - Only local users are cast using the old function so only local users get an As* function. --- modules/sslinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/sslinfo.cpp') diff --git a/modules/sslinfo.cpp b/modules/sslinfo.cpp index 985da49fd..b74d4e30b 100644 --- a/modules/sslinfo.cpp +++ b/modules/sslinfo.cpp @@ -164,7 +164,7 @@ public: if (cert) return cert; - LocalUser* luser = IS_LOCAL(user); + auto* luser = user->AsLocal(); if (!luser || nosslext.Get(luser)) return nullptr; @@ -449,7 +449,7 @@ public: void OnPostConnect(User* user) override { - LocalUser* const localuser = IS_LOCAL(user); + auto* const localuser = user->AsLocal(); if (!localuser) return; -- cgit v1.3.1-10-gc9f91