summaryrefslogtreecommitdiff
path: root/include/modes/cmode_h.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modes/cmode_h.h')
-rw-r--r--include/modes/cmode_h.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/modes/cmode_h.h b/include/modes/cmode_h.h
index eaf2149af..e1253d03c 100644
--- a/include/modes/cmode_h.h
+++ b/include/modes/cmode_h.h
@@ -1,11 +1,13 @@
#include "mode.h"
#include "channels.h"
+class InspIRCd;
+
class ModeChannelHalfOp : public ModeHandler
{
private:
public:
- ModeChannelHalfOp();
+ ModeChannelHalfOp(InspIRCd* Instance);
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);