41 |
#include "conf_gecos.h" |
#include "conf_gecos.h" |
42 |
#include "log.h" |
#include "log.h" |
43 |
#include "server.h" |
#include "server.h" |
44 |
|
#include "server_capab.h" /* TBR: RHOST compatibility mode */ |
45 |
#include "send.h" |
#include "send.h" |
46 |
#include "memory.h" |
#include "memory.h" |
47 |
#include "packet.h" |
#include "packet.h" |
220 |
if (server_p == client_p->from) |
if (server_p == client_p->from) |
221 |
continue; |
continue; |
222 |
|
|
223 |
sendto_one(server_p, ":%s UID %s %u %ju %s %s %s %s %s %s :%s", |
/* TBR: compatibility mode */ |
224 |
client_p->servptr->id, |
if (IsCapable(server_p, CAPAB_RHOST)) |
225 |
client_p->name, client_p->hopcount+1, |
sendto_one(server_p, ":%s UID %s %u %ju %s %s %s %s %s %s %s :%s", |
226 |
client_p->tsinfo, |
client_p->servptr->id, |
227 |
buf, client_p->username, client_p->host, |
client_p->name, client_p->hopcount+1, |
228 |
client_p->sockhost, client_p->id, |
client_p->tsinfo, |
229 |
client_p->account, |
buf, client_p->username, client_p->host, client_p->realhost, |
230 |
client_p->info); |
client_p->sockhost, client_p->id, |
231 |
|
client_p->account, |
232 |
|
client_p->info); |
233 |
|
else |
234 |
|
sendto_one(server_p, ":%s UID %s %u %ju %s %s %s %s %s %s :%s", |
235 |
|
client_p->servptr->id, |
236 |
|
client_p->name, client_p->hopcount+1, |
237 |
|
client_p->tsinfo, |
238 |
|
buf, client_p->username, client_p->host, |
239 |
|
client_p->sockhost, client_p->id, |
240 |
|
client_p->account, |
241 |
|
client_p->info); |
242 |
|
|
243 |
if (!EmptyString(client_p->certfp)) |
if (!EmptyString(client_p->certfp)) |
244 |
sendto_one(server_p, ":%s CERTFP %s", client_p->id, client_p->certfp); |
sendto_one(server_p, ":%s CERTFP %s", client_p->id, client_p->certfp); |