aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-08 22:30:46 -0400
committerTest_User <hax@andrewyu.org>2024-06-08 22:30:46 -0400
commit0af4d24ffc7664ed8a0c6172bed4d90113f334d5 (patch)
treeade654b4bf580fb10f47f584d28d57600a63e0d3
parentf84129633bb025ab0fb0eee19c9142268193acf1 (diff)
downloadcoupserv-0af4d24ffc7664ed8a0c6172bed4d90113f334d5.tar.gz
coupserv-0af4d24ffc7664ed8a0c6172bed4d90113f334d5.zip
Fix missing channel->
-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"));
}