Remove some more references to parv[0] in comments.

This commit is contained in:
Jilles Tjoelker 2009-01-18 21:20:14 +01:00
parent 161f040940
commit ff8e6e19e0
4 changed files with 12 additions and 12 deletions

View File

@ -433,8 +433,8 @@ mo_unkline(struct Client *client_p, struct Client *source_p, int parc, const cha
static int
ms_unkline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
{
/* parv[0] parv[1] parv[2] parv[3]
* oper target server user host */
/* source_p parv[1] parv[2] parv[3]
* oper target server user host */
propagate_generic(source_p, "UNKLINE", parv[1], CAP_UNKLN,
"%s %s", parv[2], parv[3]);

View File

@ -71,8 +71,8 @@ m_locops(struct Client *client_p, struct Client *source_p, int parc, const char
static int
ms_locops(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
{
/* parv[0] parv[1] parv[2]
* oper target serv message
/* source_p parv[1] parv[2]
* oper target serv message
*/
propagate_generic(source_p, "LOCOPS", parv[1], CAP_CLUSTER,
":%s", parv[2]);

View File

@ -147,8 +147,8 @@ static int
ms_resv(struct Client *client_p, struct Client *source_p,
int parc, const char *parv[])
{
/* parv[0] parv[1] parv[2] parv[3]
* oper target server resv reason
/* source_p parv[1] parv[2] parv[3]
* oper target server resv reason
*/
propagate_resv(source_p, parv[1], 0, parv[2], parv[3]);
@ -410,8 +410,8 @@ mo_unresv(struct Client *client_p, struct Client *source_p, int parc, const char
static int
ms_unresv(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
{
/* parv[0] parv[1] parv[2]
* oper target server resv to remove
/* source_p parv[1] parv[2]
* oper target server resv to remove
*/
propagate_generic(source_p, "UNRESV", parv[1], CAP_CLUSTER,
"%s", parv[2]);

View File

@ -176,8 +176,8 @@ mo_xline(struct Client *client_p, struct Client *source_p, int parc, const char
static int
ms_xline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
{
/* parv[0] parv[1] parv[2] parv[3] parv[4]
* oper target serv xline type reason
/* source_p parv[1] parv[2] parv[3] parv[4]
* oper target serv xline type reason
*/
propagate_xline(source_p, parv[1], 0, parv[2], parv[3], parv[4]);
@ -488,8 +488,8 @@ mo_unxline(struct Client *client_p, struct Client *source_p, int parc, const cha
static int
ms_unxline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
{
/* parv[0] parv[1] parv[2]
* oper target server gecos
/* source_p parv[1] parv[2]
* oper target server gecos
*/
propagate_generic(source_p, "UNXLINE", parv[1], CAP_CLUSTER,
"%s", parv[2]);