From 74ccc28da30896ee715504d53822f7b3ce6ec86f Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 14 Feb 2014 12:15:00 +0100 Subject: Move GetPrefixChar() from Channel to Membership --- include/channels.h | 13 ------------- include/membership.h | 9 +++++++++ 2 files changed, 9 insertions(+), 13 deletions(-) (limited to 'include') diff --git a/include/channels.h b/include/channels.h index 5109c0463..daf8be9e2 100644 --- a/include/channels.h +++ b/include/channels.h @@ -304,19 +304,6 @@ class CoreExport Channel : public Extensible, public InviteBase */ void UserList(User *user); - /** Get a users prefix on this channel in a string. - * @param user The user to look up - * @return A character array containing the prefix string. - * Unlike GetStatus and GetStatusFlags which will only return the - * core specified modes @, % and + (op, halfop and voice), GetPrefixChar - * will also return module-defined prefixes. If the user has to prefix, - * an empty but non-null string is returned. If the user has multiple - * prefixes, the highest is returned. If you do not recognise the prefix - * character you can get, you can deal with it in a 'proprtional' manner - * compared to known prefixes, using GetPrefixValue(). - */ - const char* GetPrefixChar(User *user); - /** Return all of a users mode prefixes into a char* string. * @param user The user to look up * @return A list of all prefix characters. The prefixes will always diff --git a/include/membership.h b/include/membership.h index d98b54731..c6b0bf14a 100644 --- a/include/membership.h +++ b/include/membership.h @@ -43,6 +43,15 @@ class CoreExport Membership : public Extensible, public intrusive_list_node -- cgit v1.2.3