It is ok to send 402 to local clients for any hunt_server operation.

This commit is contained in:
Jilles Tjoelker 2007-12-22 00:20:54 +01:00
parent 38b91e8915
commit 95d36ef54b
1 changed files with 1 additions and 1 deletions

View File

@ -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);