From 9fc62e565d8e227fe3dd6b9734a44957e6998cd5 Mon Sep 17 00:00:00 2001 From: Michael Ortmann <41313082+michaelortmann@users.noreply.github.com> Date: Sun, 2 Jun 2024 23:06:30 +0200 Subject: [PATCH] C can do --- src/botnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/botnet.c b/src/botnet.c index 455dc2c32..93f2e4eca 100644 --- a/src/botnet.c +++ b/src/botnet.c @@ -342,7 +342,7 @@ void remparty(char *bot, int sock) if (party[i].away) nfree(party[i].away); if (i < parties) - memcpy(&party[i], &party[parties], sizeof(party_t)); + party[i] = party[parties]; } }