diff options
| author | 2006-08-23 21:34:04 +0000 | |
|---|---|---|
| committer | 2006-08-23 21:34:04 +0000 | |
| commit | ea3ba4bfd1b072b4f14fb588286eedd0ea8c1d22 (patch) | |
| tree | 6f31e715d182c4045f61fd69658c5ca092ae264a /include | |
| parent | Fix and finish 005 numeric. PREFIX= is now calculated automatically if you ad... (diff) | |
Multi-prefix FJOIN, and allowing module-defined prefixes across the network
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5002 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
| -rw-r--r-- | include/channels.h | 2 | ||||
| -rw-r--r-- | include/mode.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h index 132e3ba04..35e192a4e 100644 --- a/include/channels.h +++ b/include/channels.h @@ -488,6 +488,8 @@ class chanrec : public Extensible */ const char* GetPrefixChar(userrec *user); + const char* GetAllPrefixChars(userrec* user); + /** Get the value of a users prefix on this channel. * @param The user to look up * @return The module or core-defined value of the users prefix. diff --git a/include/mode.h b/include/mode.h index 198ae0369..6c9cce160 100644 --- a/include/mode.h +++ b/include/mode.h @@ -426,6 +426,8 @@ class ModeParser : public classbase */ ModeHandler* FindMode(unsigned const char modeletter, ModeType mt); + ModeHandler* FindPrefix(unsigned const char pfxletter); + /** * Returns a list of mode characters which are usermodes. * This is used in the 004 numeric when users connect. |
