diff options
| author | Adam <Adam@anope.org> | 2011-08-09 01:55:34 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-08-09 01:55:34 -0400 |
| commit | 776583a665fdc1b98b66266f6649865d27337a28 (patch) | |
| tree | be07b292c7d307285b5afd78c5e816df8e2a71c5 /include | |
| parent | 91c3363c1578d24e70d0ed215d6aedc769076f08 (diff) | |
Simiplied a bit of the access system
Diffstat (limited to 'include')
| -rw-r--r-- | include/regchannel.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/regchannel.h b/include/regchannel.h index 1c1aa7294..7df852793 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -180,14 +180,9 @@ class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag, */ ChanAccess *GetAccess(unsigned index); - /** Check if a user has a privilege on a channel - * - * @param u The User to find within the access list vector - * @param priv The privilege to check for. - * @return true if the user has the privilege + /** Retrieve the access for a user or group in the form of a vector of access entries + * (as multiple entries can affect a single user). */ - bool HasPriv(User *u, ChannelAccess priv); - AccessGroup AccessFor(User *u); AccessGroup AccessFor(NickCore *nc); |
