From 95d36ef54bd06da23fb60015f6078cb005e1d0c5 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sat, 22 Dec 2007 00:20:54 +0100 Subject: [PATCH] It is ok to send 402 to local clients for any hunt_server operation. --- src/s_serv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s_serv.c b/src/s_serv.c index d460e2d8..926e607e 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -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);