diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/channels.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h index 67a76f73b..0d4c4813c 100644 --- a/include/channels.h +++ b/include/channels.h @@ -535,6 +535,10 @@ class CoreExport Channel : public Extensible */ bool IsExtBanned(User *u, char type); + /** Overloaded version to check whether a particular string is extbanned + */ + bool IsExtBanned(const std::string &str, char type); + /** Clears the cached max bans value */ void ResetMaxBans(); |