1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-04-10 09:46:39 +00:00

const'ify command name variable in _COMMAND strcuture

This commit is contained in:
Alexander Barton 2010-06-26 00:37:06 +02:00
parent a68103771c
commit 8605e9c0fe

View 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 */