diff options
author | Sadie Powell <sadie@witchery.services> | 2023-07-11 12:19:47 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2023-07-11 12:19:47 +0100 |
commit | b7458c5da1dc952a29c39fc7c72cbde44ace004f (patch) | |
tree | 154f25bc6474b5e08f41ccd8dd74e7388ec370e2 /modules/commands/cs_clone.cpp | |
parent | 4a6f4bc92fbf447c2aea52df78814514e7e3d60b (diff) |
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
Diffstat (limited to 'modules/commands/cs_clone.cpp')
-rw-r--r-- | modules/commands/cs_clone.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/commands/cs_clone.cpp b/modules/commands/cs_clone.cpp index c7869e7ce..84c7d91cb 100644 --- a/modules/commands/cs_clone.cpp +++ b/modules/commands/cs_clone.cpp @@ -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()); |