]> jfr.im git - solanum.git/blobdiff - tests/client_util.c
tests: add serv_connect1 (exit_unknown_client)
[solanum.git] / tests / client_util.c
index 2778f56d3987362396d03942004d42ad1691e05f..04c22e0b4b3fca6ab5b19b4fa70627ad7ccfb4b8 100644 (file)
@@ -105,6 +105,8 @@ struct Client *make_remote_server_full(struct Client *uplink, const char *name,
        SetServer(client);
 
        add_to_client_hash(client->name, client);
+       if (strlen(id))
+               add_to_id_hash(client->id, client);
 
        return client;
 }