summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 996678225ed..e5fa3a4bf71 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -3250,7 +3250,7 @@ static int process_tok(fstring tok)
cmd = i;
break;
}
- else if (strnequal(commands[i].name, tok, tok_len+1))
+ else if (strnequal(commands[i].name, tok, tok_len))
{
matches++;
cmd = i;