Automated merge with ssh://hg.atheme.org//hg/charybdis

This commit is contained in:
William Pitcock 2007-12-22 14:05:45 -06:00
commit 64513f3675

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