summaryrefslogtreecommitdiff
path: root/include/command_parse.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-11 16:56:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-11 16:56:07 +0000
commit871dd3c93bba5a8b60e9d785815dfbc579122652 (patch)
treed106118996759b6917c0dd614807139e2fd9e8e7 /include/command_parse.h
parenta323e20162d634dbd90f9ba609fe996dcc1b0fe3 (diff)
Missed some stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3664 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/command_parse.h')
-rw-r--r--include/command_parse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/command_parse.h b/include/command_parse.h
index 5709f5c6a..310427036 100644
--- a/include/command_parse.h
+++ b/include/command_parse.h
@@ -34,8 +34,8 @@ class CommandParser
command_table cmdlist;
CommandParser();
- bool CallHandler(std::string &commandname,char **parameters, int pcnt, userrec *user);
- bool IsValidCommand(std::string &commandname, int pcnt, userrec * user);
+ bool CallHandler(const std::string &commandname,char **parameters, int pcnt, userrec *user);
+ bool IsValidCommand(const std::string &commandname, int pcnt, userrec * user);
int LoopCall(command_t *fn, char **parameters, int pcnt, userrec *u, int start, int end, int joins);
void ProcessBuffer(const char* cmdbuf,userrec *user);
bool RemoveCommands(const char* source);