summaryrefslogtreecommitdiff
path: root/include/command_parse.h
diff options
context:
space:
mode:
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 b199123ee..d66726379 100644
--- a/include/command_parse.h
+++ b/include/command_parse.h
@@ -36,10 +36,10 @@ class CommandParser
CommandParser();
void CallHandler(std::string &commandname,char **parameters, int pcnt, userrec *user);
bool IsValidCommand(std::string &commandname, int pcnt, userrec * user);
- int LoopCall(handlerfunc fn, char **parameters, int pcnt, userrec *u, int start, int end, int joins);
+ 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);
- bool CreateCommand(char* cmd, handlerfunc f, char flags, int minparams,char* source);
+ bool CreateCommand(command_t *f);
};
#endif