push
[NextIRCd.git] / src / ircd_sock.c
index 259c74b84a851806a8e740d9d1d2aabeb2d834e1..920479d8d73b7783cc7b0abdce2c8d8db00349a5 100644 (file)
@@ -134,6 +134,7 @@ static void sockets_accept_client(struct IOSocket *new_client, struct Connection
     new_client->parse_delimiter = 1;
     new_client->parse_empty = 0;
     strcpy((char*) new_client->delimiters, "\r\n");
+       new_client->callback = sockets_iohandler_callback;
     
     connection->parent = listener;
     new_client->data = connection;