From 1ce5f4d75ba5d3c151670fd36a816bfd8ee75c80 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 7 Sep 2008 19:17:25 +0200 Subject: 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. --- src/command.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/command.h') diff --git a/src/command.h b/src/command.h index 2b4f1fee..13ec7df6 100644 --- a/src/command.h +++ b/src/command.h @@ -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); -- cgit v1.2.3