summaryrefslogtreecommitdiff
path: root/include/modes
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-08 16:10:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-08 16:10:34 +0000
commit2d4621658d8daae931b7e44a9c3ecc6a04dcaf4f (patch)
tree467fde46338b96d199845f74e8af0d2a70ac85ce /include/modes
parent31404e424f68e7d47a97ba3dab6e1c3a5893e245 (diff)
Add support for cmode +h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4170 e03df62e-2008-0410-955e-edbf42e46eb7
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);
+};
+