summaryrefslogtreecommitdiff
path: root/include/mode.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 11:32:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 11:32:57 +0000
commit3d433bc7b0074e3c008b2e5d93f219ac23a58174 (patch)
tree87230f4f053a0aa3859b443c9781a7e136a24914 /include/mode.h
parentddb4ad9ce46b61583917d9a5db0f9fda9f00d65f (diff)
GROK!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2521 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mode.h b/include/mode.h
index 94d9666dd..efc83b281 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -39,10 +39,10 @@ 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);
- CompressModes(std::string modes,bool channelmodes);
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);
- bool AllowedUmode(char umode, char* sourcemodes,bool adding);
+ bool AllowedUmode(char umode, char* sourcemodes,bool adding,bool serveroverride);
bool ProcessModuleUmode(char umode, userrec* source, void* dest, bool adding);
void ServerMode(char **parameters, int pcnt, userrec *user);
};