- if (use_euid)
- sendto_server(client_p, NULL, CAP_EUID | CAP_TS6, NOCAPS,
- ":%s EUID %s %d %ld %s %s %s %s %s %s %s :%s",
- source_p->servptr->id, nick,
- source_p->hopcount + 1,
- (long) source_p->tsinfo, ubuf,
- source_p->username, source_p->host,
- IsIPSpoof(source_p) ? "0" : sockhost,
- source_p->id,
- IsDynSpoof(source_p) ? source_p->orighost : "*",
- EmptyString(source_p->user->suser) ? "*" : source_p->user->suser,
- source_p->info);
-
- sendto_server(client_p, NULL, CAP_TS6, use_euid ? CAP_EUID : NOCAPS,
- ":%s UID %s %d %ld %s %s %s %s %s :%s",
- source_p->servptr->id, nick,
- source_p->hopcount + 1,
- (long) source_p->tsinfo, ubuf,
- source_p->username, source_p->host,
- IsIPSpoof(source_p) ? "0" : sockhost,
- source_p->id, source_p->info);
-
- sendto_server(client_p, NULL, NOCAPS, CAP_TS6,
- "NICK %s %d %ld %s %s %s %s :%s",
- nick, source_p->hopcount + 1,
- (long) source_p->tsinfo,
- ubuf, source_p->username, source_p->host,
- source_p->servptr->name, source_p->info);
- }
- else
- sendto_server(client_p, NULL, NOCAPS, NOCAPS,
- "NICK %s %d %ld %s %s %s %s :%s",
- nick, source_p->hopcount + 1,
- (long) source_p->tsinfo,
- ubuf, source_p->username, source_p->host,
- source_p->servptr->name, source_p->info);
+ if (use_euid)
+ sendto_server(client_p, NULL, CAP_EUID | CAP_TS6, NOCAPS,
+ ":%s EUID %s %d %ld %s %s %s %s %s %s %s :%s",
+ source_p->servptr->id, nick,
+ source_p->hopcount + 1,
+ (long) source_p->tsinfo, ubuf,
+ source_p->username, source_p->host,
+ IsIPSpoof(source_p) ? "0" : sockhost,
+ source_p->id,
+ IsDynSpoof(source_p) ? source_p->orighost : "*",
+ EmptyString(source_p->user->suser) ? "*" : source_p->user->suser,
+ source_p->info);
+
+ sendto_server(client_p, NULL, CAP_TS6, use_euid ? CAP_EUID : NOCAPS,
+ ":%s UID %s %d %ld %s %s %s %s %s :%s",
+ source_p->servptr->id, nick,
+ source_p->hopcount + 1,
+ (long) source_p->tsinfo, ubuf,
+ source_p->username, source_p->host,
+ IsIPSpoof(source_p) ? "0" : sockhost,
+ source_p->id, source_p->info);