From caf904c938a7d54e246e09e16505257c475597f4 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 16 May 2026 11:23:25 +0100 Subject: [PATCH] Fix updating the access description in cs_flags. --- modules/chanserv/cs_flags.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/chanserv/cs_flags.cpp b/modules/chanserv/cs_flags.cpp index 9bc55ef81..c3e44a8ad 100644 --- a/modules/chanserv/cs_flags.cpp +++ b/modules/chanserv/cs_flags.cpp @@ -311,8 +311,8 @@ class CommandCSFlags final return; auto *access = anope_dynamic_static_cast(provider->Create()); access->SetMask(mask, ci); - access->creator = source.GetNick(); - access->description = current ? current->description : description; + access->creator = source.GetNick(); + access->description = current && description.empty() ? current->description : description; access->last_seen = current ? current->last_seen : 0; access->created = Anope::CurTime; access->flags = current_flags;