diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-19 19:50:27 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-19 19:50:27 +0000 |
commit | 9d26c71414ef009975676e2037202ad99f9ca40c (patch) | |
tree | 87cf77340dec3ec70f30c6480c296dff534c5143 /src/parse.c | |
parent | d014cc6c4d39b7ff37a5bfb4640c1af3a87df699 (diff) |
- Revert to -r1831
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1834 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/parse.c')
-rw-r--r-- | src/parse.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/parse.c b/src/parse.c index 31b9268..019d861 100644 --- a/src/parse.c +++ b/src/parse.c @@ -223,7 +223,7 @@ parse(struct Client *client_p, char *pbuffer, char *bufend) if (*pbuffer != '\0') { if (IsClient(from)) - sendto_one(from, ERR_UNKNOWNCOMMAND, + sendto_one(from, form_str(ERR_UNKNOWNCOMMAND), me.name, from->name, ch); } @@ -315,7 +315,7 @@ handle_command(struct Message *mptr, struct Client *client_p, { if (!IsServer(client_p)) { - sendto_one(client_p, ERR_NEEDMOREPARAMS, me.name, + sendto_one(client_p, form_str(ERR_NEEDMOREPARAMS), me.name, EmptyString(hpara[0]) ? "*" : hpara[0], mptr->cmd); } else @@ -512,7 +512,7 @@ recurse_report_messages(struct Client *source_p, const struct MessageTree *mtree unsigned int i; if (mtree->msg != NULL) - sendto_one(source_p, RPL_STATSCOMMANDS, + sendto_one(source_p, form_str(RPL_STATSCOMMANDS), me.name, source_p->name, mtree->msg->cmd, mtree->msg->count, mtree->msg->bytes, mtree->msg->rcount); @@ -723,7 +723,7 @@ void m_not_oper(struct Client *client_p, struct Client *source_p, int parc, char *parv[]) { - sendto_one(source_p, ERR_NOPRIVILEGES, + sendto_one(source_p, form_str(ERR_NOPRIVILEGES), me.name, source_p->name); } @@ -731,7 +731,7 @@ void m_unregistered(struct Client *client_p, struct Client *source_p, int parc, char *parv[]) { - sendto_one(source_p, ERR_NOTREGISTERED, me.name, + sendto_one(source_p, form_str(ERR_NOTREGISTERED), me.name, source_p->name[0] ? source_p->name : "*"); } @@ -739,7 +739,7 @@ void m_registered(struct Client *client_p, struct Client *source_p, int parc, char *parv[]) { - sendto_one(source_p, ERR_ALREADYREGISTRED, + sendto_one(source_p, form_str(ERR_ALREADYREGISTRED), me.name, source_p->name); } |