From 8bdc2313a66bc200e7067e01159367f48571fef9 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 14 Feb 2014 12:16:31 +0100 Subject: Move GetAllPrefixChars() from Channel to Membership --- include/channels.h | 8 -------- include/membership.h | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/channels.h b/include/channels.h index daf8be9e2..9b018b23e 100644 --- a/include/channels.h +++ b/include/channels.h @@ -304,14 +304,6 @@ class CoreExport Channel : public Extensible, public InviteBase */ void UserList(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 - * be in rank order, greatest first, as certain IRC clients require - * this when multiple prefixes are used names lists. - */ - const char* GetAllPrefixChars(User* user); - /** Get the value of a users prefix on this channel. * @param user The user to look up * @return The module or core-defined value of the users prefix. 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 -- cgit v1.2.3