commit 10c12d5d599a2aeb9a03efda1d81345a4b57cff2
parent 87603a72db06bf8385595c0e00207ccd920a9790
Author: Claudio Alessi <smoppy@gmail.com>
Date: Thu, 10 Feb 2022 19:56:56 +0100
Free names list when kicked
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/circo.c b/circo.c
@@ -1104,6 +1104,7 @@ recv_kick(char *oper, char *chan, char *who) {
return;
if(!strcmp(who, nick)) {
b->kicked = 1;
+ freenames(&b->names); /* we don't need this anymore */
bprintf(b, "You got kicked from %s\n", chan);
}
else {