aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index b2f45f7..e25ada9 100644
--- a/commands.c
+++ b/commands.c
@@ -263,7 +263,7 @@ int clear_command(struct string sender, struct string original_message, struct s
if (user)
SENDCLIENT(user->nick);
else
- SENDCLIENT(user_list.array[i].name);
+ SENDCLIENT(channel->user_list.array[i].name);
SENDCLIENT(STRING(" :\r\n"));
}