From: Jilles Tjoelker Date: Sun, 18 Jan 2009 20:20:14 +0000 (+0100) Subject: Remove some more references to parv[0] in comments. X-Git-Tag: charybdis-3.1.0~34 X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/commitdiff_plain/77f3c1f4408bdf1bc3fd795d90d3b7c8f831b2f3 Remove some more references to parv[0] in comments. --- diff --git a/modules/m_kline.c b/modules/m_kline.c index 2f88823..77aa15d 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 4e62157..f03cc2b 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 0c98369..5b35f2a 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 fba0a13..e1c5c9f 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]);