|
@@ -407,6 +407,7 @@ int do_cmd_ban(char *s) {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
i = malloc(sizeof(struct klist_node));
|
|
i = malloc(sizeof(struct klist_node));
|
|
|
|
|
+ klist_init(i);
|
|
|
i->usrname = people_name;
|
|
i->usrname = people_name;
|
|
|
klist_add(banned_people, i);
|
|
klist_add(banned_people, i);
|
|
|
return 0;
|
|
return 0;
|