summaryrefslogtreecommitdiff
path: root/include/modes/cmode_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modes/cmode_i.h')
-rw-r--r--include/modes/cmode_i.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/modes/cmode_i.h b/include/modes/cmode_i.h
index 7320cb169..b8bea88a8 100644
--- a/include/modes/cmode_i.h
+++ b/include/modes/cmode_i.h
@@ -1,8 +1,10 @@
#include "mode.h"
+class InspIRCd;
+
class ModeChannelInviteOnly : public ModeHandler
{
public:
- ModeChannelInviteOnly();
+ ModeChannelInviteOnly(InspIRCd* Instance);
ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
};