cmode_h.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #include "mode.h"
00015 #include "channels.h"
00016
00017 class InspIRCd;
00018
00021 class ModeChannelHalfOp : public ModeHandler
00022 {
00023 private:
00024 public:
00025 ModeChannelHalfOp(InspIRCd* Instance);
00026 ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding, bool servermode);
00027 std::string AddHalfOp(User *user,const char *dest,Channel *chan,int status);
00028 std::string DelHalfOp(User *user,const char *dest,Channel *chan,int status);
00029 ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string ¶meter);
00030 unsigned int GetPrefixRank();
00031 void RemoveMode(Channel* channel, irc::modestacker* stack = NULL);
00032 void RemoveMode(User* user, irc::modestacker* stack = NULL);
00033 };
00034