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

Comparing ircd-hybrid/trunk/modules/m_help.c (file contents):
Revision 3109 by michael, Thu Mar 6 19:25:12 2014 UTC vs.
Revision 3266 by michael, Sat Apr 5 19:15:11 2014 UTC

# Line 113 | Line 113 | do_help(struct Client *source_p, char *t
113    sendhelpfile(source_p, path, topic);
114   }
115  
116 < /*
117 < * m_help - HELP message handler
118 < *      parv[0] = command
116 > /*! \brief HELP command handler
117 > *
118 > * \param source_p Pointer to allocated Client struct from which the message
119 > *                 originally comes from.  This can be a local or remote client.
120 > * \param parc     Integer holding the number of supplied arguments.
121 > * \param parv     Argument vector where parv[0] .. parv[parc-1] are non-NULL
122 > *                 pointers.
123 > * \note Valid arguments for this command are:
124 > *      - parv[0] = command
125 > *      - parv[1] = help topic
126   */
127   static int
128 < m_help(struct Client *client_p, struct Client *source_p,
122 <       int parc, char *parv[])
128 > m_help(struct Client *source_p, int parc, char *parv[])
129   {
130    static time_t last_used = 0;
131  
# Line 137 | Line 143 | m_help(struct Client *client_p, struct C
143    return 0;
144   }
145  
146 < /*
147 < * mo_help - HELP message handler
148 < *      parv[0] = command
146 > /*! \brief HELP command handler
147 > *
148 > * \param source_p Pointer to allocated Client struct from which the message
149 > *                 originally comes from.  This can be a local or remote client.
150 > * \param parc     Integer holding the number of supplied arguments.
151 > * \param parv     Argument vector where parv[0] .. parv[parc-1] are non-NULL
152 > *                 pointers.
153 > * \note Valid arguments for this command are:
154 > *      - parv[0] = command
155 > *      - parv[1] = help topic
156   */
157   static int
158 < mo_help(struct Client *client_p, struct Client *source_p,
146 <        int parc, char *parv[])
158 > mo_help(struct Client *source_p, int parc, char *parv[])
159   {
160    do_help(source_p, parv[1]);
161    return 0;

Diff Legend

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