+ 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
+ * @returns 1 = exempt, 0 = no match, -1 = banned
+ */
+ int GetExtBanStatus(User *u, char type);
+
+ /** Overloaded version to check whether a particular string is extbanned
+ * @returns 1 = exempt, 0 = no match, -1 = banned
+ */
+ int GetExtBanStatus(const std::string &str, char type);