ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.1.x/src/parse.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/parse.c (file contents):
Revision 1793 by michael, Sun Mar 31 14:06:08 2013 UTC vs.
Revision 1832 by michael, Fri Apr 19 19:16:09 2013 UTC

# Line 223 | Line 223 | parse(struct Client *client_p, char *pbu
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  
# Line 315 | Line 315 | handle_command(struct Message *mptr, str
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
# Line 512 | Line 512 | recurse_report_messages(struct Client *s
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);
# Line 723 | Line 723 | void
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  
# Line 731 | Line 731 | void
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  
# Line 739 | Line 739 | void
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  

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)