mirror of
https://github.com/matrix-construct/construct
synced 2024-11-18 07:50:57 +01:00
Remove some more references to parv[0] in comments.
This commit is contained in:
parent
161f040940
commit
ff8e6e19e0
4 changed files with 12 additions and 12 deletions
|
@ -433,8 +433,8 @@ mo_unkline(struct Client *client_p, struct Client *source_p, int parc, const cha
|
||||||
static int
|
static int
|
||||||
ms_unkline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
ms_unkline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
||||||
{
|
{
|
||||||
/* parv[0] parv[1] parv[2] parv[3]
|
/* source_p parv[1] parv[2] parv[3]
|
||||||
* oper target server user host */
|
* oper target server user host */
|
||||||
propagate_generic(source_p, "UNKLINE", parv[1], CAP_UNKLN,
|
propagate_generic(source_p, "UNKLINE", parv[1], CAP_UNKLN,
|
||||||
"%s %s", parv[2], parv[3]);
|
"%s %s", parv[2], parv[3]);
|
||||||
|
|
||||||
|
|
|
@ -71,8 +71,8 @@ m_locops(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
static int
|
static int
|
||||||
ms_locops(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
ms_locops(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
||||||
{
|
{
|
||||||
/* parv[0] parv[1] parv[2]
|
/* source_p parv[1] parv[2]
|
||||||
* oper target serv message
|
* oper target serv message
|
||||||
*/
|
*/
|
||||||
propagate_generic(source_p, "LOCOPS", parv[1], CAP_CLUSTER,
|
propagate_generic(source_p, "LOCOPS", parv[1], CAP_CLUSTER,
|
||||||
":%s", parv[2]);
|
":%s", parv[2]);
|
||||||
|
|
|
@ -147,8 +147,8 @@ static int
|
||||||
ms_resv(struct Client *client_p, struct Client *source_p,
|
ms_resv(struct Client *client_p, struct Client *source_p,
|
||||||
int parc, const char *parv[])
|
int parc, const char *parv[])
|
||||||
{
|
{
|
||||||
/* parv[0] parv[1] parv[2] parv[3]
|
/* source_p parv[1] parv[2] parv[3]
|
||||||
* oper target server resv reason
|
* oper target server resv reason
|
||||||
*/
|
*/
|
||||||
propagate_resv(source_p, parv[1], 0, parv[2], parv[3]);
|
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
|
static int
|
||||||
ms_unresv(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
ms_unresv(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
||||||
{
|
{
|
||||||
/* parv[0] parv[1] parv[2]
|
/* source_p parv[1] parv[2]
|
||||||
* oper target server resv to remove
|
* oper target server resv to remove
|
||||||
*/
|
*/
|
||||||
propagate_generic(source_p, "UNRESV", parv[1], CAP_CLUSTER,
|
propagate_generic(source_p, "UNRESV", parv[1], CAP_CLUSTER,
|
||||||
"%s", parv[2]);
|
"%s", parv[2]);
|
||||||
|
|
|
@ -176,8 +176,8 @@ mo_xline(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
static int
|
static int
|
||||||
ms_xline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
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]
|
/* source_p parv[1] parv[2] parv[3] parv[4]
|
||||||
* oper target serv xline type reason
|
* oper target serv xline type reason
|
||||||
*/
|
*/
|
||||||
propagate_xline(source_p, parv[1], 0, parv[2], parv[3], parv[4]);
|
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
|
static int
|
||||||
ms_unxline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
ms_unxline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
||||||
{
|
{
|
||||||
/* parv[0] parv[1] parv[2]
|
/* source_p parv[1] parv[2]
|
||||||
* oper target server gecos
|
* oper target server gecos
|
||||||
*/
|
*/
|
||||||
propagate_generic(source_p, "UNXLINE", parv[1], CAP_CLUSTER,
|
propagate_generic(source_p, "UNXLINE", parv[1], CAP_CLUSTER,
|
||||||
"%s", parv[2]);
|
"%s", parv[2]);
|
||||||
|
|
Loading…
Reference in a new issue