summaryrefslogtreecommitdiff
path: root/include/membership.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/membership.h')
-rw-r--r--include/membership.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/membership.h b/include/membership.h
index c6b0bf14a..44eaf1eb6 100644
--- a/include/membership.h
+++ b/include/membership.h
@@ -52,6 +52,13 @@ class CoreExport Membership : public Extensible, public intrusive_list_node<Memb
* prefixes, using GetPrefixValue().
*/
char GetPrefixChar() const;
+
+ /** Return all prefix chars this member has.
+ * @return A list of all prefix characters. The prefixes will always
+ * be in rank order, greatest first, as certain IRC clients require
+ * this when multiple prefixes are used names lists.
+ */
+ const char* GetAllPrefixChars() const;
};
template <typename T>