- sendto_one_numeric(source_p, ERR_NOSUCHNICK,
- form_str(ERR_NOSUCHNICK),
- IsDigit(parv[1][0]) ? "*" : parv[1]);
+ if(!MyClient(source_p) && IsDigit(parv[1][0]))
+ sendto_one_numeric(source_p, ERR_NOSUCHNICK,
+ "* :Target left IRC. Failed to invite to %s",
+ parv[2]);
+ else
+ sendto_one_numeric(source_p, ERR_NOSUCHNICK,
+ form_str(ERR_NOSUCHNICK),
+ parv[1]);