From 34fa5627de0a0431ca76f34445c680a76a9a7dc5 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sun, 1 Sep 2013 14:25:15 +0200 Subject: Create a base class for prefix modes Move Channel::SetPrefix() into Membership --- include/channels.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'include/channels.h') diff --git a/include/channels.h b/include/channels.h index 0c7a3a20c..4f61e15e4 100644 --- a/include/channels.h +++ b/include/channels.h @@ -338,17 +338,6 @@ class CoreExport Channel : public Extensible, public InviteBase */ unsigned int GetPrefixValue(User* user); - /** Add a prefix character to a user. - * Only the core should call this method, usually from - * within the mode parser or when the first user joins - * the channel (to grant ops to them) - * @param user The user to associate the privilage with - * @param prefix The prefix character to associate - * @param adding True if adding the prefix, false when removing - * @return True if a change was made - */ - bool SetPrefix(User* user, char prefix, bool adding); - /** Check if a user is banned on this channel * @param user A user to check against the banlist * @returns True if the user given is banned -- cgit v1.2.3