summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/regchannel.h9
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);