aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index 61f0fdd0c..2f2159e87 100644
--- a/src/command.c
+++ b/src/command.c
@@ -2365,10 +2365,9 @@ static const struct command *
command_checked_lookup(struct client *client, unsigned permission,
int argc, char *argv[])
{
- static char unknown[] = "";
const struct command *cmd;
- current_command = unknown;
+ current_command = "";
if (argc == 0)
return NULL;