50 |
|
|
51 |
/* This is safe enough to use during non hidden server mode */ |
/* This is safe enough to use during non hidden server mode */ |
52 |
if (!ConfigFileEntry.disable_remote) |
if (!ConfigFileEntry.disable_remote) |
53 |
if (hunt_server(client_p,source_p,":%s TIME :%s",1,parc,parv) != HUNTED_ISME) |
if (hunt_server(client_p, source_p, ":%s TIME :%s", 1, parc, parv) != HUNTED_ISME) |
54 |
return; |
return; |
55 |
|
|
56 |
sendto_one(source_p, form_str(RPL_TIME), me.name, |
sendto_one(source_p, form_str(RPL_TIME), me.name, |
66 |
mo_time(struct Client *client_p, struct Client *source_p, |
mo_time(struct Client *client_p, struct Client *source_p, |
67 |
int parc, char *parv[]) |
int parc, char *parv[]) |
68 |
{ |
{ |
69 |
if (hunt_server(client_p,source_p,":%s TIME :%s",1,parc,parv) == HUNTED_ISME) |
if (hunt_server(client_p, source_p, ":%s TIME :%s", 1, parc, parv) == HUNTED_ISME) |
70 |
sendto_one(source_p, form_str(RPL_TIME), me.name, |
sendto_one(source_p, form_str(RPL_TIME), me.name, |
71 |
source_p->name, me.name, date(0)); |
source_p->name, me.name, date(0)); |
72 |
} |
} |