#include "IRCParser.h"
#include "UserNode.h"
#include "IRCQueue.h"
+#include "WHOHandler.h"
struct socket_list {
struct ClientSocket *data;
client->botid = 0;
client->clientid = 0;
client->queue = NULL;
+ client->whoqueue_first = NULL;
+ client->whoqueue_last = NULL;
client->next = sockets->data;
sockets->data = client;
return client;
}
if(client->queue)
queue_destroy(client);
+ if(client->whoqueue_first)
+ clear_whoqueue(client);
free(client->host);
free(client->pass);
free(client);