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/spanningtree/reply.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/spanningtree/reply.cpp') diff --git a/modules/spanningtree/reply.cpp b/modules/spanningtree/reply.cpp index 4a407296e..095dc0eeb 100644 --- a/modules/spanningtree/reply.cpp +++ b/modules/spanningtree/reply.cpp @@ -30,7 +30,7 @@ CmdResult CommandReply::HandleServer(TreeServer* server, CommandBase::Params& pa if (!target) return CmdResult::FAILURE; // User has gone. - auto* ltarget = IS_LOCAL(target); + auto* ltarget = target->AsLocal(); if (!ltarget) return CmdResult::SUCCESS; // Not for us. -- cgit v1.3.1-10-gc9f91