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]; } }