summaryrefslogtreecommitdiff
path: root/include/modes
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-07 22:55:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-07 22:55:47 +0000
commit40320969da824c4150134fa5177c02694c6b49bd (patch)
treeb16bb2badaec5ae20dc4d6b3bf717561560a0ab0 /include/modes
parent65d52bb76385f0a3f49acc4217cc6212008d3b3e (diff)
Add support for channelmode +i
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4159 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modes')
-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);
+};