summaryrefslogtreecommitdiff
path: root/include/modes
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-08 16:46:05 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-08 16:46:05 +0000
commit56917208cd41b720b96d052b0b2f353b8a89b29f (patch)
tree304a43f8b833e5c6da11e64323b411ea5b9e1b7c /include/modes
parent4ca8c0649ab4fc7291774d760cf64a84832f8e2e (diff)
Add cmode +v - that's all the RFC channel modes done now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4172 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modes')
-rw-r--r--include/modes/cmode_v.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/modes/cmode_v.h b/include/modes/cmode_v.h
new file mode 100644
index 000000000..8cf1ad994
--- /dev/null
+++ b/include/modes/cmode_v.h
@@ -0,0 +1,13 @@
+#include "mode.h"
+#include "channels.h"
+
+class ModeChannelVoice : public ModeHandler
+{
+ private:
+ public:
+ ModeChannelVoice();
+ ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
+ std::string AddVoice(userrec *user,const char *dest,chanrec *chan,int status);
+ std::string DelVoice(userrec *user,const char *dest,chanrec *chan,int status);
+};
+