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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/modes/cmode_i.h b/include/modes/cmode_i.h
new file mode 100644
index 000000000..7320cb169
--- /dev/null
+++ b/include/modes/cmode_i.h
@@ -0,0 +1,8 @@
+#include "mode.h"
+
+class ModeChannelInviteOnly : public ModeHandler
+{
+ public:
+ ModeChannelInviteOnly();
+ ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
+};