summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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();