summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-04 21:43:21 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-04 21:43:21 +0000
commitf00094febf62beb74fb45a765a9fccd1ba4c8b8b (patch)
treed532bc5147fc104a75bf75427240dc5056395c97 /include
parentccea6c12cd10e26c3ccacc91fdc16897d00582de (diff)
The start of extended bans infrastructure: syntax is e.g. +b n:w00tdiff@*, bans of any type can be applied and checked against, but there's more to come with this.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9337 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/channels.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h
index 693f429f4..bf025ec56 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -528,6 +528,13 @@ class CoreExport Channel : public Extensible
*/
bool IsBanned(User* user);
+ /** Check whether an extban of a given type matches
+ * a given user for this channel.
+ * @param u The user to match bans against
+ * @param type The type of extban to check
+ */
+ bool IsExtBanned(User *u, char type);
+
/** Clears the cached max bans value
*/
void ResetMaxBans();