86 |
|
{ |
87 |
|
struct Client *const client_p = mp_pool_get(client_pool); |
88 |
|
|
89 |
< |
if (!from) |
89 |
> |
if (from) |
90 |
> |
client_p->from = from; |
91 |
> |
else |
92 |
|
{ |
93 |
|
client_p->from = client_p; /* 'from' of local client is self! */ |
94 |
|
client_p->connection = mp_pool_get(connection_pool); |
100 |
|
/* as good a place as any... */ |
101 |
|
dlinkAdd(client_p, &client_p->connection->lclient_node, &unknown_list); |
102 |
|
} |
101 |
– |
else |
102 |
– |
client_p->from = from; |
103 |
|
|
104 |
|
client_p->idhnext = client_p; |
105 |
|
client_p->hnext = client_p; |
498 |
|
return NULL; |
499 |
|
|
500 |
|
target_p = whowas_get_history(name, ConfigGeneral.kill_chase_time_limit); |
501 |
– |
|
501 |
|
if (!target_p) |
503 |
– |
{ |
502 |
|
sendto_one_numeric(source_p, &me, ERR_NOSUCHNICK, name); |
505 |
– |
return NULL; |
506 |
– |
} |
503 |
|
|
504 |
|
return target_p; |
505 |
|
} |