summaryrefslogtreecommitdiff
path: root/include/modes
diff options
context:
space:
mode:
Diffstat (limited to 'include/modes')
-rw-r--r--include/modes/cmode_h.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/modes/cmode_h.h b/include/modes/cmode_h.h
new file mode 100644
index 000000000..1cec864d1
--- /dev/null
+++ b/include/modes/cmode_h.h
@@ -0,0 +1,13 @@
+#include "mode.h"
+#include "channels.h"
+
+class ModeChannelHalfOp : public ModeHandler
+{
+ private:
+ public:
+ ModeChannelHalfOp();
+ ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
+ std::string AddHalfOp(userrec *user,const char *dest,chanrec *chan,int status);
+ std::string DelHalfOp(userrec *user,const char *dest,chanrec *chan,int status);
+};
+