diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-07 14:31:05 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-07 14:31:05 +0000 |
commit | 2d05d8bc330256252e22b8b8aede3504d8d4dca6 (patch) | |
tree | cbf85ae3e9bd1f1c5b490afb2790a1fcf0d4f87f /include | |
parent | 4cb72aee7374889ce3f11a0ff516ac716c16b5b7 (diff) |
Header for cmode_s.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4124 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/mode.h | 2 | ||||
-rw-r--r-- | include/modes/cmode_s.h | 8 |
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 ¶meter, bool adding); +}; |