From ff8e6e19e00c8698bf67e2518dcc5f9c4c38bf21 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 18 Jan 2009 21:20:14 +0100 Subject: [PATCH] Remove some more references to parv[0] in comments. --- modules/m_kline.c | 4 ++-- modules/m_locops.c | 4 ++-- modules/m_resv.c | 8 ++++---- modules/m_xline.c | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/modules/m_kline.c b/modules/m_kline.c index 2f8882373..77aa15d5a 100644 --- a/modules/m_kline.c +++ b/modules/m_kline.c @@ -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]); diff --git a/modules/m_locops.c b/modules/m_locops.c index 4e6215768..f03cc2b9c 100644 --- a/modules/m_locops.c +++ b/modules/m_locops.c @@ -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]); diff --git a/modules/m_resv.c b/modules/m_resv.c index 0c983694f..5b35f2a58 100644 --- a/modules/m_resv.c +++ b/modules/m_resv.c @@ -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]); diff --git a/modules/m_xline.c b/modules/m_xline.c index fba0a1315..e1c5c9f5c 100644 --- a/modules/m_xline.c +++ b/modules/m_xline.c @@ -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]);