From 95f69d02e9453229867521683824c6b1b7a2acab Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:51:04 +0000 Subject: inline Channel::IsModeSet git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11643 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/channels.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/channels.h') diff --git a/include/channels.h b/include/channels.h index 82bf50853..dfbe06c27 100644 --- a/include/channels.h +++ b/include/channels.h @@ -218,7 +218,8 @@ class CoreExport Channel : public Extensible * @param mode The mode character you wish to query * @return True if the custom mode is set, false if otherwise */ - bool IsModeSet(char mode); + inline bool IsModeSet(char mode) { return modes[mode-'A']; } + /** Returns the parameter for a custom mode on a channel. * @param mode The mode character you wish to query -- cgit v1.2.3