summaryrefslogtreecommitdiff
path: root/include/mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mode.h')
-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);