diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/channels.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h index 14e06d40f..d0d221550 100644 --- a/include/channels.h +++ b/include/channels.h @@ -527,6 +527,12 @@ class chanrec : public Extensible */ void SetPrefix(userrec* user, char prefix, unsigned int prefix_rank, bool adding); + /** Check if a user is banned on this channel + * @param user A user to check against the banlist + * @returns True if the user given is banned + */ + bool IsBanned(userrec* user); + /** Destructor for chanrec */ virtual ~chanrec() { /* stub */ } |