summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-06 01:51:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-06 01:51:11 +0000
commit02359de3406804fc4687afa4a1ebf30c989e5378 (patch)
treea79a04506cd4c707a35304b9bac35f6d9ec1398f /include
parentf562574cc775ad6d2132e8837d33c6d925592bac (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')
-rw-r--r--include/mode.h3
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);