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