diff options
author | Adam <Adam@anope.org> | 2013-07-03 22:45:00 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-03 22:45:00 -0400 |
commit | 7f971043bc0b552e0ec2f3a88bf123cecb007387 (patch) | |
tree | 2cc22c4b2c2d0231567624ad5d7595fbb97662ed /include/regchannel.h | |
parent | c2e1a8a3e2bc2144ad0c4c6009be3ea974aef58f (diff) |
Allow channels on access lists
Diffstat (limited to 'include/regchannel.h')
-rw-r--r-- | include/regchannel.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/regchannel.h b/include/regchannel.h index f04156d89..49fc882e2 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -137,13 +137,18 @@ class CoreExport ChannelInfo : public Serializable, public Extensible */ unsigned GetAccessCount() const; + /** Get the number of access entries for this channel, + * including those that are on other channels. + */ + unsigned GetDeepAccessCount() const; + /** Erase an entry from the channel access list * * @param index The index in the access list vector * - * Clears the memory used by the given access entry and removes it from the vector. + * @return The erased entry */ - void EraseAccess(unsigned index); + ChanAccess *EraseAccess(unsigned index); /** Clear the entire channel access list * |