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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user