aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client.c b/src/client.c
index 6b3be05d0..f0603b3bb 100644
--- a/src/client.c
+++ b/src/client.c
@@ -337,7 +337,6 @@ static int client_process_line(struct client *client)
DEBUG("client %i: process command "
"list\n", client->num);
ret = processListOfCommands(client,
- &(client->permission),
client->cmd_list_OK,
client->cmd_list);
DEBUG("client %i: process command "
@@ -384,8 +383,7 @@ static int client_process_line(struct client *client)
} else {
DEBUG("client %i: process command \"%s\"\n",
client->num, line);
- ret = processCommand(client,
- &(client->permission), line);
+ ret = processCommand(client, line);
DEBUG("client %i: command returned %i\n",
client->num, ret);