}
client->host = strdup(host);
client->port = port;
+ printf("Connect: %s:%d", client->host, client->port);
client->pass = (pass == NULL ? NULL : strdup(pass));
client->user = user;
client->flags = 0;
client->bufferpos = 0;
client->botid = 0;
+ client->clientid = 0;
client->next = sockets->data;
sockets->data = client;
return client;