1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 17:24:49 +02:00

Fix updating the access description in cs_flags.

This commit is contained in:
Sadie Powell
2026-05-16 11:23:25 +01:00
parent 8930cc2a92
commit caf904c938
+1 -1
View File
@@ -312,7 +312,7 @@ class CommandCSFlags final
auto *access = anope_dynamic_static_cast<FlagsChanAccess *>(provider->Create());
access->SetMask(mask, ci);
access->creator = source.GetNick();
access->description = current ? current->description : description;
access->description = current && description.empty() ? current->description : description;
access->last_seen = current ? current->last_seen : 0;
access->created = Anope::CurTime;
access->flags = current_flags;