summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/channels.h2
-rw-r--r--include/mode.h2
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.