mirror of
https://github.com/osmarks/ngircd.git
synced 2025-07-17 16:52:49 +00:00
const'ify command name variable in _COMMAND strcuture
This commit is contained in:
parent
a68103771c
commit
8605e9c0fe
@ -30,7 +30,7 @@ typedef struct _REQUEST /* vgl. RFC 2812, 2.3 */
|
|||||||
|
|
||||||
typedef struct _COMMAND
|
typedef struct _COMMAND
|
||||||
{
|
{
|
||||||
char *name; /* command name */
|
const char *name; /* command name */
|
||||||
bool (*function) PARAMS(( CLIENT *Client, REQUEST *Request ));
|
bool (*function) PARAMS(( CLIENT *Client, REQUEST *Request ));
|
||||||
CLIENT_TYPE type; /* valid client types (bit mask) */
|
CLIENT_TYPE type; /* valid client types (bit mask) */
|
||||||
long lcount, rcount; /* number of local and remote calls */
|
long lcount, rcount; /* number of local and remote calls */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user