Replace parv[0] with source_p->name.

This commit is contained in:
Jilles Tjoelker 2009-01-17 01:18:19 +01:00
parent 0a849a8fa9
commit 3dfaa67120
8 changed files with 18 additions and 18 deletions

View file

@ -127,7 +127,7 @@ mr_pong(struct Client *client_p, struct Client *source_p, int parc, const char *
}
else
sendto_one(source_p, form_str(ERR_NOORIGIN), me.name, parv[0]);
sendto_one(source_p, form_str(ERR_NOORIGIN), me.name, source_p->name);
source_p->flags &= ~FLAGS_PINGSENT;