]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Remove some more references to parv[0] in comments.
authorJilles Tjoelker <redacted>
Sun, 18 Jan 2009 20:20:14 +0000 (21:20 +0100)
committerJilles Tjoelker <redacted>
Sun, 18 Jan 2009 20:20:14 +0000 (21:20 +0100)
modules/m_kline.c
modules/m_locops.c
modules/m_resv.c
modules/m_xline.c

index 2f888237325da5dfc3bfca6d780f42ba25133624..77aa15d5aa6fd2512fede4bfafe39500ea62a7e2 100644 (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]);
 
index 4e6215768f277bf47182bba40f3eb2ce8d5921b8..f03cc2b9ca4da7c0144c6ca11e338d8a12b71cfc 100644 (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]);
index 0c983694f962f83c5575559c01a877f55e32249b..5b35f2a581a7954a4bc2ca30219361fd21630b1c 100644 (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]);
index fba0a131547d7a542977d49f6204351ab6c36542..e1c5c9f5c362195f72b2e12d5c26dda99d3f15c2 100644 (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]);