]> arthur.barton.de Git - ngircd-alex.git/commitdiff
const'ify command name variable in _COMMAND strcuture
authorAlexander Barton <alex@barton.de>
Fri, 25 Jun 2010 22:37:06 +0000 (00:37 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 25 Jun 2010 22:37:06 +0000 (00:37 +0200)
src/ngircd/parse.h

index a3f764ece38587c22fca60ed344b74e6e1e1ca55..205dbb8dfb83d0a01e67cb194b4a0ea5d0a1924d 100644 (file)
@@ -30,7 +30,7 @@ typedef struct _REQUEST                       /* vgl. RFC 2812, 2.3 */
 
 typedef struct _COMMAND
 {
-       char *name;                     /* command name */
+       const char *name;               /* command name */
        bool (*function) PARAMS(( CLIENT *Client, REQUEST *Request ));
        CLIENT_TYPE type;               /* valid client types (bit mask) */
        long lcount, rcount;            /* number of local and remote calls */