It is ok to send 402 to local clients for any hunt_server operation.
This commit is contained in:
parent
38b91e8915
commit
95d36ef54b
|
@ -334,7 +334,7 @@ hunt_server(struct Client *client_p, struct Client *source_p,
|
|||
return (HUNTED_PASS);
|
||||
}
|
||||
|
||||
if(!IsDigit(parv[server][0]))
|
||||
if(MyClient(source_p) || !IsDigit(parv[server][0]))
|
||||
sendto_one_numeric(source_p, ERR_NOSUCHSERVER,
|
||||
form_str(ERR_NOSUCHSERVER), parv[server]);
|
||||
return (HUNTED_NOSUCH);
|
||||
|
|
Loading…
Reference in New Issue