summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mode.h2
-rw-r--r--include/modes/cmode_s.h8
2 files changed, 10 insertions, 0 deletions
diff --git a/include/mode.h b/include/mode.h
index d09d62439..65b55a285 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -112,6 +112,8 @@ class ModeParser
char* Grant(userrec *d,chanrec *chan,int MASK);
char* Revoke(userrec *d,chanrec *chan,int MASK);
public:
+ ModeParser();
+
void Process(char **parameters, int pcnt, userrec *user, bool servermode);
std::string CompressModes(std::string modes,bool channelmodes);
diff --git a/include/modes/cmode_s.h b/include/modes/cmode_s.h
new file mode 100644
index 000000000..981bddfaf
--- /dev/null
+++ b/include/modes/cmode_s.h
@@ -0,0 +1,8 @@
+#include "mode.h"
+
+class ModeChannelSecret : public ModeHandler
+{
+ public:
+ ModeChannelSecret();
+ ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
+};