push
[NextIRCd.git] / src / ircd_client.c
index 001548ebae5408424a74621694ada982993131ea..77e1b6c5bfaae7efcab32220e7943bd481e769ce 100644 (file)
 #define CLIENT_MAXLEN 512
 
 struct Client *client_connected(struct Auth *auth) {
-    
-    return NULL;
+    struct Client *client = calloc(1, sizeof(*client));
+       client->conn = auth->conn;
+       
+       client_printf(client, "Hi");
+       
+    return client;
 }
 
 void client_printf(struct Client *client, const char *text, ...) {