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

Comparing ircd-hybrid/trunk/src/parse.c (file contents):
Revision 2786 by michael, Mon Jan 6 22:33:53 2014 UTC vs.
Revision 2820 by michael, Wed Jan 15 23:10:26 2014 UTC

# Line 729 | Line 729 | handle_numeric(char numeric[], struct Cl
729   * output       -
730   * side effects - just returns a nastyogram to given user
731   */
732 < void
732 > int
733   m_not_oper(struct Client *client_p, struct Client *source_p,
734             int parc, char *parv[])
735   {
736    sendto_one(source_p, form_str(ERR_NOPRIVILEGES),
737               me.name, source_p->name);
738 +  return 0;
739   }
740  
741 < void
741 > int
742   m_unregistered(struct Client *client_p, struct Client *source_p,
743                 int parc, char *parv[])
744   {
745    sendto_one(source_p, form_str(ERR_NOTREGISTERED), me.name,
746               source_p->name[0] ? source_p->name : "*");
747 +  return 0;
748   }
749  
750 < void
750 > int
751   m_registered(struct Client *client_p, struct Client *source_p,
752               int parc, char *parv[])
753   {
754    sendto_one(source_p, form_str(ERR_ALREADYREGISTRED),
755               me.name, source_p->name);
756 +  return 0;
757   }
758  
759 < void
759 > int
760   m_ignore(struct Client *client_p, struct Client *source_p,
761           int parc, char *parv[])
762   {
763 <  return;
763 >  return 0;
764   }

Diff Legend

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