summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-09-01 14:25:15 +0200
committerattilamolnar <attilamolnar@hush.com>2013-09-11 12:10:07 +0200
commit34fa5627de0a0431ca76f34445c680a76a9a7dc5 (patch)
tree4b63f6ce49983e161051f70e066ecf9bf974cc88 /include/channels.h
parent537ad4740afdbc656326cce766d1818cf5811c37 (diff)
Create a base class for prefix modes
Move Channel::SetPrefix() into Membership
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h11
1 files changed, 0 insertions, 11 deletions
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