]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/command_parse.h
Add userrec::HasMode, fix some typos.
[user/henk/code/inspircd.git] / include / command_parse.h
index a58dfe5d108a38d2bc1e2b1474ceb13269644f98..310427036cec97d17ea7b94baebae0d7334a72a2 100644 (file)
@@ -34,8 +34,8 @@ class CommandParser
        command_table cmdlist;
 
        CommandParser();
-       void 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);