]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules.h
Tidying, strlen, strcasecmp where not needed.
[user/henk/code/inspircd.git] / include / modules.h
index 8eae4f6a37a15ed1bfab72a4befee89d1197e1d6..4dff5d48a566c218e040ba5af7bea536a50f2e37 100644 (file)
@@ -1597,8 +1597,9 @@ class Server : public classbase
         * in the array. If you do not pass enough parameters to meet the minimum needed by the handler, the
         * functiom will silently ignore it. The final parameter is the user executing the command handler,
         * used for privilage checks, etc.
+        * @return True if the command exists
         */
-       virtual void CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user);
+       virtual bool CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user);
 
        /** This function returns true if the commandname exists, pcnt is equal to or greater than the number
         * of paramters the command requires, the user specified is allowed to execute the command, AND