| 223 |
|
if (*pbuffer != '\0') |
| 224 |
|
{ |
| 225 |
|
if (IsClient(from)) |
| 226 |
< |
sendto_one(from, form_str(ERR_UNKNOWNCOMMAND), |
| 226 |
> |
sendto_one(from, ERR_UNKNOWNCOMMAND, |
| 227 |
|
me.name, from->name, ch); |
| 228 |
|
} |
| 229 |
|
|
| 315 |
|
{ |
| 316 |
|
if (!IsServer(client_p)) |
| 317 |
|
{ |
| 318 |
< |
sendto_one(client_p, form_str(ERR_NEEDMOREPARAMS), me.name, |
| 318 |
> |
sendto_one(client_p, ERR_NEEDMOREPARAMS, me.name, |
| 319 |
|
EmptyString(hpara[0]) ? "*" : hpara[0], mptr->cmd); |
| 320 |
|
} |
| 321 |
|
else |
| 512 |
|
unsigned int i; |
| 513 |
|
|
| 514 |
|
if (mtree->msg != NULL) |
| 515 |
< |
sendto_one(source_p, form_str(RPL_STATSCOMMANDS), |
| 515 |
> |
sendto_one(source_p, RPL_STATSCOMMANDS, |
| 516 |
|
me.name, source_p->name, mtree->msg->cmd, |
| 517 |
|
mtree->msg->count, mtree->msg->bytes, |
| 518 |
|
mtree->msg->rcount); |
| 723 |
|
m_not_oper(struct Client *client_p, struct Client *source_p, |
| 724 |
|
int parc, char *parv[]) |
| 725 |
|
{ |
| 726 |
< |
sendto_one(source_p, form_str(ERR_NOPRIVILEGES), |
| 726 |
> |
sendto_one(source_p, ERR_NOPRIVILEGES, |
| 727 |
|
me.name, source_p->name); |
| 728 |
|
} |
| 729 |
|
|
| 731 |
|
m_unregistered(struct Client *client_p, struct Client *source_p, |
| 732 |
|
int parc, char *parv[]) |
| 733 |
|
{ |
| 734 |
< |
sendto_one(source_p, form_str(ERR_NOTREGISTERED), me.name, |
| 734 |
> |
sendto_one(source_p, ERR_NOTREGISTERED, me.name, |
| 735 |
|
source_p->name[0] ? source_p->name : "*"); |
| 736 |
|
} |
| 737 |
|
|
| 739 |
|
m_registered(struct Client *client_p, struct Client *source_p, |
| 740 |
|
int parc, char *parv[]) |
| 741 |
|
{ |
| 742 |
< |
sendto_one(source_p, form_str(ERR_ALREADYREGISTRED), |
| 742 |
> |
sendto_one(source_p, ERR_ALREADYREGISTRED, |
| 743 |
|
me.name, source_p->name); |
| 744 |
|
} |
| 745 |
|
|