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 |
|
|
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; |