diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-01 13:53:27 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-01 13:53:27 +0000 |
commit | 1f9ef4081211739c7c04211a9d77549d25c09f7a (patch) | |
tree | d7bc1589bb5fd322016cb0dc8ae7da930b56cbdd /include | |
parent | beaaee86df1e13f68fc5d6fb1f0ce61e3d3412a9 (diff) |
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
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 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. |