- use_id(&me), use_id(client), client->host);
- sendto_server(NULL, NULL,
- NOCAPS, CAP_TS6, ":%s ENCAP * CHGHOST %s :%s",
- me.name, client->name, client->host);
- if (irccmp(client->host, client->orighost))
- SetDynSpoof(client);
- else
- ClearDynSpoof(client);
-}
-
-#define Nval 0x8c3a48ac
-#define HOSTLEN 63
-#define INITDATA "98fwqefnoiqefv03f423t34gbv3vb89tg432t3b8" /* change this */
-
-static inline unsigned int
-get_string_entropy(const char *inbuf)
-{
- unsigned int accum = 1;
-
- while(*inbuf != '\0')
- accum += *inbuf++;
-
- return accum;
-}
-
-/* calls get_string_entropy() and toasts it against INITDATA */
-static inline unsigned int
-get_string_weighted_entropy(const char *inbuf)
-{
- static int base_entropy = 0;
- unsigned int accum = get_string_entropy(inbuf);