From 1f9ef4081211739c7c04211a9d77549d25c09f7a Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 1 Apr 2008 13:53:27 +0000 Subject: Configurable prefixes for chanmodes +qa: prefixes can be turned on or off individually and seperately, per server as well as per mode, and prefixes are no longer limited to ~&. *** SERVICES AUTHORS *** This involves a protocol change. FJOIN now sends the userlist with format modes,nick instead of prefixes,nick. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9241 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/channels.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/channels.h b/include/channels.h index 693f429f4..7ef73bb10 100644 --- a/include/channels.h +++ b/include/channels.h @@ -491,6 +491,12 @@ class CoreExport Channel : public Extensible */ const char* GetAllPrefixChars(User* user); + /** Returns all of the prefix MODES a user has on channel. + * @param user The user to look up + * @return A list of all prefix modes. + */ + const char *GetAllPrefixModes(User *user); + /** Get the value of a users prefix on this channel. * @param user The user to look up * @return The module or core-defined value of the users prefix. -- cgit v1.2.3