summaryrefslogtreecommitdiff
path: root/include/membership.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-02-14 12:16:31 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-02-14 12:16:31 +0100
commit8bdc2313a66bc200e7067e01159367f48571fef9 (patch)
tree0a0743fa2ab776987772f5b7f1f5cfd401a0b1b5 /include/membership.h
parent74ccc28da30896ee715504d53822f7b3ce6ec86f (diff)
Move GetAllPrefixChars() from Channel to Membership
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>