command: use client_[gs]et_permission()
Don't pass a pointer to client->permission to processCommand(), better let the code in command.c use the new permission getter/setter functions.
This commit is contained in:
@@ -29,11 +29,10 @@
|
||||
|
||||
struct client;
|
||||
|
||||
int processListOfCommands(struct client *client, int *permission,
|
||||
int processListOfCommands(struct client *client,
|
||||
int listOK, struct strnode *list);
|
||||
|
||||
int processCommand(struct client *client,
|
||||
int *permission, char *commandString);
|
||||
int processCommand(struct client *client, char *commandString);
|
||||
|
||||
void initCommands(void);
|
||||
|
||||
|
Reference in New Issue
Block a user