Change the type of the argv argument of all commands.
[paraslash.git] / server.h
index 0cdd0e609c907ccb1cb8e58b0502413f86079ce6..9c98cf62a3bdb233155ef2a970d0982f26d7d2a1 100644 (file)
--- a/server.h
+++ b/server.h
@@ -17,7 +17,7 @@ struct server_command {
 /** the name of the command */
        const char *name;
 /** pointer to the function that handles the command */
-       int (*handler)(int, int, char **);
+       int (*handler)(int, int, char * const * const);
 /** the privileges a user must have to execute this command */
        unsigned int perms;
 /** one-line description of the command */