1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 21:23:13 +02:00

Allow access list entries to have a description.

This is useful when adding glob matches to the access list as a
reminder of who they actually match.

Resolves https://bugs.anope.org/view.php?id=1613
This commit is contained in:
Sadie Powell
2023-07-11 12:19:47 +01:00
parent 4a6f4bc92f
commit b7458c5da1
6 changed files with 28 additions and 13 deletions
+1
View File
@@ -44,6 +44,7 @@ class CommandCSClone : public Command
ChanAccess *newaccess = provider->Create();
newaccess->SetMask(taccess->Mask(), target_ci);
newaccess->creator = taccess->creator;
newaccess->description = taccess->description;
newaccess->last_seen = taccess->last_seen;
newaccess->created = taccess->created;
newaccess->AccessUnserialize(taccess->AccessSerialize());