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/sslmodes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/sslmodes.cpp') diff --git a/modules/sslmodes.cpp b/modules/sslmodes.cpp index ea2339fd2..0c47d5843 100644 --- a/modules/sslmodes.cpp +++ b/modules/sslmodes.cpp @@ -101,7 +101,7 @@ public: if (change.adding == channel->IsModeSet(this)) return false; - if (change.adding && IS_LOCAL(source)) + if (change.adding && source->IsLocal()) { if (!sslapi) { @@ -148,7 +148,7 @@ public: if (change.adding == dest->IsModeSet(this)) return false; - if (change.adding && IS_LOCAL(user)) + if (change.adding && user->IsLocal()) { if (!sslapi) { -- cgit v1.3.1-10-gc9f91