]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - include/modes/cmode_h.h
dd188626c60dfca751789fda5e56dcae1e5a9b77
[user/henk/code/inspircd.git] / include / modes / cmode_h.h
1 /*       +------------------------------------+
2  *       | Inspire Internet Relay Chat Daemon |
3  *       +------------------------------------+
4  *
5  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
6  * See: http://wiki.inspircd.org/Credits
7  *
8  * This program is free but copyrighted software; see
9  *            the file COPYING for details.
10  *
11  * ---------------------------------------------------
12  */
13
14 #include "mode.h"
15 #include "channels.h"
16
17 class InspIRCd;
18
19 /** Channel mode +h
20  */
21 class ModeChannelHalfOp : public ModeHandler
22 {
23  private:
24  public:
25         ModeChannelHalfOp(InspIRCd* Instance);
26         ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
27         ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
28         unsigned int GetPrefixRank();
29         void RemoveMode(Channel* channel, irc::modestacker* stack = NULL);
30         void RemoveMode(User* user, irc::modestacker* stack = NULL);
31 };
32