diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-06 01:51:11 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-06 01:51:11 +0000 |
commit | 02359de3406804fc4687afa4a1ebf30c989e5378 (patch) | |
tree | a79a04506cd4c707a35304b9bac35f6d9ec1398f /include/mode.h | |
parent | f562574cc775ad6d2132e8837d33c6d925592bac (diff) |
Tidied up give/take methods
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3482 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/mode.h')
-rw-r--r-- | include/mode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mode.h b/include/mode.h index 3ad34ed71..973e9c22b 100644 --- a/include/mode.h +++ b/include/mode.h @@ -40,6 +40,9 @@ class ModeParser char* TakeVoice(userrec *user,char *dest,chanrec *chan,int status); char* AddBan(userrec *user,char *dest,chanrec *chan,int status); char* TakeBan(userrec *user,char *dest,chanrec *chan,int status); + userrec* SanityChecks(userrec *user,char *dest,chanrec *chan,int status); + char* Grant(userrec *d,chanrec *chan,int MASK); + char* Revoke(userrec *d,chanrec *chan,int MASK); public: std::string CompressModes(std::string modes,bool channelmodes); void ProcessModes(char **parameters,userrec* user,chanrec *chan,int status, int pcnt, bool servermode, bool silent, bool local); |