]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Update comments for parv[0] removal.
authorJilles Tjoelker <redacted>
Sun, 18 Jan 2009 17:22:43 +0000 (18:22 +0100)
committerJilles Tjoelker <redacted>
Sun, 18 Jan 2009 17:22:43 +0000 (18:22 +0100)
62 files changed:
extensions/example_module.c
extensions/m_findforwards.c
extensions/m_mkpasswd.c
extensions/m_ojoin.c
extensions/m_okick.c
extensions/m_olist.c
extensions/m_omode.c
extensions/m_opme.c
extensions/m_webirc.c
include/msg.h
modules/core/m_error.c
modules/core/m_join.c
modules/core/m_kick.c
modules/core/m_kill.c
modules/core/m_mode.c
modules/core/m_nick.c
modules/core/m_part.c
modules/core/m_quit.c
modules/core/m_server.c
modules/core/m_squit.c
modules/m_accept.c
modules/m_admin.c
modules/m_away.c
modules/m_capab.c
modules/m_challenge.c
modules/m_chghost.c
modules/m_connect.c
modules/m_etrace.c
modules/m_help.c
modules/m_info.c
modules/m_invite.c
modules/m_knock.c
modules/m_links.c
modules/m_list.c
modules/m_locops.c
modules/m_lusers.c
modules/m_map.c
modules/m_motd.c
modules/m_names.c
modules/m_oper.c
modules/m_pass.c
modules/m_ping.c
modules/m_post.c
modules/m_resv.c
modules/m_scan.c
modules/m_services.c
modules/m_snote.c
modules/m_stats.c
modules/m_svinfo.c
modules/m_time.c
modules/m_topic.c
modules/m_trace.c
modules/m_users.c
modules/m_version.c
modules/m_wallops.c
modules/m_who.c
modules/m_whois.c
modules/m_whowas.c
src/parse.c
src/s_user.c
unsupported/m_clearchan.c
unsupported/m_force.c

index 526fba3cebb9cee56503eef958b473078c62d0bc..86623296da868df650e231ff4387902061dbc33c 100644 (file)
@@ -151,7 +151,6 @@ DECLARE_MODULE_AV1(
 
 /*
  * mr_test
- *      parv[0] = sender prefix
  *      parv[1] = parameter
  */
 
@@ -178,7 +177,6 @@ munreg_test(struct Client *client_p, struct Client *source_p, int parc, const ch
 
 /*
  * mclient_test
- *      parv[0] = sender prefix
  *      parv[1] = parameter
  */
 static int
@@ -201,7 +199,6 @@ mclient_test(struct Client *client_p, struct Client *source_p, int parc, const c
 
 /*
  * mrclient_test
- *      parv[0] = sender prefix
  *      parv[1] = parameter
  */
 static int
@@ -220,7 +217,6 @@ mrclient_test(struct Client *client_p, struct Client *source_p, int parc, const
 
 /*
  * mserver_test
- *      parv[0] = sender prefix
  *      parv[1] = parameter
  */
 static int
@@ -239,7 +235,6 @@ mserver_test(struct Client *client_p, struct Client *source_p, int parc, const c
 
 /*
  * moper_test
- *      parv[0] = sender prefix
  *      parv[1] = parameter
  */
 static int
index e33ea1786dd65cd5e5c237c0960f693f247de9b8..f681234e15ced96ab56e64962791afdd24dc305b 100644 (file)
@@ -49,7 +49,6 @@ DECLARE_MODULE_AV1(findforwards, NULL, NULL, findforwards_clist, NULL, NULL, "$R
 
 /*
 ** mo_findforwards
-**      parv[0] = sender prefix
 **      parv[1] = channel
 */
 static int
index d0e9d6ef9348bb91340c315a02a71bc82df3ed55..bf5f038f2f7a9607c583e60c4f8912f4506a3f3c 100644 (file)
@@ -97,7 +97,6 @@ m_mkpasswd(struct Client *client_p, struct Client *source_p, int parc, const cha
 
 /*
 ** mo_test
-**      parv[0] = sender prefix
 **      parv[1] = parameter
 */
 static int
index 66e12deec06d1ff5bda2c1a9e20cf74d765cbd1f..239cd447ca5ccd5836a22502f3029054a3292baa 100644 (file)
@@ -50,7 +50,6 @@ DECLARE_MODULE_AV1(ojoin, NULL, NULL, ojoin_clist, NULL, NULL, "$Revision: 3554
 
 /*
 ** mo_ojoin
-**      parv[0] = sender prefix
 **      parv[1] = channel
 */
 static int
index 3c532945b93f21f5647a3b8e52c9ba25c8097775..29e8b64246b14a9b2788613dc6da8174da33a90b 100644 (file)
@@ -52,7 +52,6 @@ DECLARE_MODULE_AV1(okick, NULL, NULL, okick_clist, NULL, NULL, "$Revision: 3554
 
 /*
 ** m_okick
-**      parv[0] = sender prefix
 **      parv[1] = channel
 **      parv[2] = client to kick
 **      parv[3] = kick comment
index 737e1ac996e8522b1d92f8fcbd520002205e03bd..7588d5113674b378641be49f08bdb2368b042caa 100644 (file)
@@ -62,7 +62,6 @@ static void list_named_channel(struct Client *source_p, const char *name);
 
 /*
 ** mo_olist
-**      parv[0] = sender prefix
 **      parv[1] = channel
 */
 static int
index c00974e0302a919b354d71e751c5874bdef54d91..03c9d32898e4b7a6aee455139736dba1162d8b3a 100644 (file)
@@ -55,7 +55,6 @@ DECLARE_MODULE_AV1(omode, NULL, NULL, omode_clist, NULL, NULL, "$Revision: 3121
 
 /*
  * mo_omode - MODE command handler
- * parv[0] - sender
  * parv[1] - channel
  */
 static int
index bd74eba3eded344e9c0269acc7bff53f94061743..31ee67f8d97b7bc828d17beb863fbe3dbf957442 100644 (file)
@@ -49,7 +49,6 @@ DECLARE_MODULE_AV1(opme, NULL, NULL, opme_clist, NULL, NULL, "$Revision: 3554 $"
 
 /*
 ** mo_opme
-**      parv[0] = sender prefix
 **      parv[1] = channel
 */
 static int
index 1b5748e56cdcd4c0d286201be882427da226661b..1b92ff018fc67e917805b7fef1d37a409190c302 100644 (file)
@@ -67,7 +67,6 @@ DECLARE_MODULE_AV1(webirc, NULL, NULL, webirc_clist, NULL, NULL, "$Revision: 207
 
 /*
  * mr_webirc - webirc message handler
- *      parv[0] = sender prefix
  *      parv[1] = password
  *      parv[2] = fake username (we ignore this)
  *     parv[3] = fake hostname 
index 283eb9b2dc6f5b18c6076ffb52d11d13f4c831d6..1d04c0be1314fc9a502c90d8759f3270742f3959 100644 (file)
@@ -139,13 +139,13 @@ extern int m_unregistered(struct Client *, struct Client *, int, const char **);
  *
  *    parv    a NULL terminated list of parameter pointers,
  *
- *                    parv[0], sender (prefix string), if not present
- *                            this points to an empty string.
+ *                    parv[0], unused for historical reasons (formerly
+ *                            sender name)
  *                    parv[1]...parv[parc-1]
  *                            pointers to additional parameters
  *                    parv[parc] == NULL, *always*
  *
- *            note:   it is guaranteed that parv[0]..parv[parc-1] are all
+ *            note:   it is guaranteed that parv[1]..parv[parc-1] are all
  *                    non-NULL pointers.
  */
 
index 108b38bf0bac70832e0fb52f5fed15e41aa55eed..df19a14b70bed5a75be9d98f47d8860bfe66d6b8 100644 (file)
@@ -85,7 +85,6 @@ is_safe_error(const char *message)
  * although this is called internally from other functions
  * --msa
  *
- *      parv[0] = sender prefix
  *      parv[*] = parameters
  */
 int
index 6f28e13966cd2fcc3e4d7537d22bc31e35e36fd8..e9f092d2c9cbda24c35495403231f125822c1fcf 100644 (file)
@@ -125,7 +125,6 @@ check_forward(struct Client *source_p, struct Channel *chptr,
 
 /*
  * m_join
- *      parv[0] = sender prefix
  *      parv[1] = channel
  *      parv[2] = channel password (key)
  */
@@ -388,7 +387,6 @@ m_join(struct Client *client_p, struct Client *source_p, int parc, const char *p
 
 /*
  * ms_join
- *      parv[0] = sender prefix
  *      parv[1] = channel TS
  *      parv[2] = channel
  *      parv[3] = "+", formerly channel modes but now unused
index ecf1d218fa284af8b4347a2d910f447c04ebadbc..c87a1a50a59ca2e5d1c67001e0f3741ebf5a62d9 100644 (file)
@@ -52,7 +52,6 @@ DECLARE_MODULE_AV1(kick, NULL, NULL, kick_clist, NULL, NULL, "$Revision: 3317 $"
 
 /*
 ** m_kick
-**      parv[0] = sender prefix
 **      parv[1] = channel
 **      parv[2] = client to kick
 **      parv[3] = kick comment
index c26518783abb75b845d889736f8a4a2498f75957..c78baf58854717e6354c302f484d4488c5cdaf82 100644 (file)
@@ -58,7 +58,6 @@ DECLARE_MODULE_AV1(kill, NULL, NULL, kill_clist, NULL, NULL, "$Revision: 3408 $"
 
 /*
 ** mo_kill
-**      parv[0] = sender prefix
 **      parv[1] = kill victim
 **      parv[2] = kill path
 */
@@ -158,7 +157,6 @@ mo_kill(struct Client *client_p, struct Client *source_p, int parc, const char *
 
 /*
  * ms_kill
- *      parv[0] = sender prefix
  *      parv[1] = kill victim
  *      parv[2] = kill path and reason
  */
index 1653b09b6176183598eccec05ec01dd4e57c1707..42df7ed2b8a0ebb75496b56e7eb8372c5342b7d6 100644 (file)
@@ -66,7 +66,6 @@ DECLARE_MODULE_AV1(mode, NULL, NULL, mode_clist, NULL, NULL, "$Revision: 1006 $"
 
 /*
  * m_mode - MODE command handler
- * parv[0] - sender
  * parv[1] - channel
  */
 static int
index 7335399b4409e90ccc51f1bfe8369e1f8d73c528..4deeed60594615e77bd4d85fd8a5fd3c964426fd 100644 (file)
@@ -108,7 +108,6 @@ static int perform_nickchange_collides(struct Client *, struct Client *,
                                       struct Client *, int, const char **, time_t, const char *);
 
 /* mr_nick()
- *       parv[0] = sender prefix
  *       parv[1] = nickname
  */
 static int
@@ -175,7 +174,6 @@ mr_nick(struct Client *client_p, struct Client *source_p, int parc, const char *
 }
 
 /* m_nick()
- *     parv[0] = sender prefix
  *     parv[1] = nickname
  */
 static int
@@ -258,7 +256,6 @@ m_nick(struct Client *client_p, struct Client *source_p, int parc, const char *p
 /* mc_nick()
  *      
  * server -> server nick change
- *    parv[0] = sender prefix
  *    parv[1] = nickname
  *    parv[2] = TS when nick change
  */
index b0cd6b08baf4034510b0e69e76b80fbc96eab853..5e38047aac3b8cb8b118167f012e34e9a46f9822 100644 (file)
@@ -58,7 +58,6 @@ static void part_one_client(struct Client *client_p,
 
 /*
 ** m_part
-**      parv[0] = sender prefix
 **      parv[1] = channel
 **      parv[2] = reason
 */
index 3ad321b8cc4b56662e8b44c4cc56286ab5033c20..bc77f09516245f841ff6aeb4ab72323c630ce2f1 100644 (file)
@@ -50,7 +50,6 @@ DECLARE_MODULE_AV1(quit, NULL, NULL, quit_clist, NULL, NULL, "$Revision: 1333 $"
 
 /*
 ** m_quit
-**      parv[0] = sender prefix
 **      parv[1] = comment
 */
 static int
@@ -87,7 +86,6 @@ m_quit(struct Client *client_p, struct Client *source_p, int parc, const char *p
 
 /*
 ** ms_quit
-**      parv[0] = sender prefix
 **      parv[1] = comment
 */
 static int
index 86ff95c4d08496f0809b997429326c84b776c66b..9007fd8b47003d88507badcd325f4f5105235e88 100644 (file)
@@ -64,7 +64,6 @@ static int set_server_gecos(struct Client *, const char *);
 
 /*
  * mr_server - SERVER message handler
- *      parv[0] = sender prefix
  *      parv[1] = servername
  *      parv[2] = serverinfo/hopcount
  *      parv[3] = serverinfo
@@ -261,7 +260,6 @@ mr_server(struct Client *client_p, struct Client *source_p, int parc, const char
 
 /*
  * ms_server - SERVER message handler
- *      parv[0] = sender prefix
  *      parv[1] = servername
  *      parv[2] = serverinfo/hopcount
  *      parv[3] = serverinfo
index e53e2910036e4a2c6b4678d121b9e175751bd53a..587b851bbdd548d4a76b63b8d1bd961fb3139264 100644 (file)
@@ -64,7 +64,6 @@ static struct squit_parms *find_squit(struct Client *client_p,
 
 /*
  * mo_squit - SQUIT message handler
- *      parv[0] = sender prefix
  *      parv[1] = server name
  *      parv[2] = comment
  */
@@ -106,7 +105,6 @@ mo_squit(struct Client *client_p, struct Client *source_p, int parc, const char
 
 /*
  * ms_squit - SQUIT message handler
- *      parv[0] = sender prefix
  *      parv[1] = server name
  *      parv[2] = comment
  */
index 3af9c9eb9ac26d5ff174534a741cc5a627cbd8a1..06a341b4a4e75315d038c02962a913a308b64938 100644 (file)
@@ -54,7 +54,6 @@ DECLARE_MODULE_AV1(accept, NULL, NULL, accept_clist, NULL, NULL, "$Revision: 254
 
 /*
  * m_accept - ACCEPT command handler
- *      parv[0] = sender prefix
  *      parv[1] = servername
  */
 static int
index 5e051a4da81f6ef03af6ce19a0f522b489358c54..9b0bf8d7d2d7d362817c7e2822b5825c7cc02b36 100644 (file)
@@ -60,7 +60,6 @@ DECLARE_MODULE_AV1(admin, NULL, NULL, admin_clist, admin_hlist, NULL, "$Revision
 
 /*
  * mr_admin - ADMIN command handler
- *      parv[0] = sender prefix   
  *      parv[1] = servername   
  */
 static int
@@ -86,7 +85,6 @@ mr_admin(struct Client *client_p, struct Client *source_p, int parc, const char
 
 /*
  * m_admin - ADMIN command handler
- *      parv[0] = sender prefix
  *      parv[1] = servername
  */
 static int
@@ -117,7 +115,6 @@ m_admin(struct Client *client_p, struct Client *source_p, int parc, const char *
 
 /*
  * ms_admin - ADMIN command handler, used for OPERS as well
- *      parv[0] = sender prefix
  *      parv[1] = servername
  */
 static int
index d52c66f42b0d8077536b6942e886540d809974bf..02b510d8ed9caa1cbb6d396f7ff71d38c9081591 100644 (file)
@@ -64,7 +64,6 @@ DECLARE_MODULE_AV1(away, NULL, NULL, away_clist, NULL, NULL, "$Revision: 3370 $"
 
 /*
 ** m_away
-**      parv[0] = sender prefix
 **      parv[1] = away message
 */
 static int
index 3bc93724ac84126c525abb7359e31ce149332b15..3e7de45d7c2e87214ba2f45a9f87e04acf7c7a5d 100644 (file)
@@ -50,7 +50,6 @@ DECLARE_MODULE_AV1(capab, NULL, NULL, capab_clist, NULL, NULL, "$Revision: 1295
 
 /*
  * mr_capab - CAPAB message handler
- *      parv[0] = sender prefix
  *      parv[1] = space-separated list of capabilities
  *
  */
index e0b9dbe053a4ced838a0c9352fea332d0103e84d..19729e3cbe7c79b672d4b07cb9aefd28b6dfb204 100644 (file)
@@ -100,7 +100,6 @@ cleanup_challenge(struct Client *target_p)
 
 /*
  * m_challenge - generate RSA challenge for wouldbe oper
- * parv[0] = sender prefix
  * parv[1] = operator to challenge for, or +response
  *
  */
index a4b4ce3e6dc2233368743baca04533b7d6452aa0..57bffa977bc8fe604aa37025e6e958313a09ea4e 100644 (file)
@@ -77,7 +77,6 @@ clean_host(const char *host)
 
 /*
  * me_realhost
- * parv[0] = origin
  * parv[1] = real host
  *
  * Yes this contains a little race condition if someone does a whois
@@ -140,7 +139,6 @@ do_chghost(struct Client *source_p, struct Client *target_p,
 
 /*
  * ms_chghost
- * parv[0] = origin
  * parv[1] = target
  * parv[2] = host
  */
@@ -168,7 +166,6 @@ ms_chghost(struct Client *client_p, struct Client *source_p,
 
 /*
  * me_chghost
- * parv[0] = origin
  * parv[1] = target
  * parv[2] = host
  */
@@ -188,7 +185,6 @@ me_chghost(struct Client *client_p, struct Client *source_p,
 
 /*
  * mo_chghost
- * parv[0] = origin
  * parv[1] = target
  * parv[2] = host
  */
index 809783a2b8a98f7f077ee644de2d18eeefe671b2..cf89756033a16fc930b47836efd63de27c575665 100644 (file)
@@ -57,7 +57,6 @@ DECLARE_MODULE_AV1(connect, NULL, NULL, connect_clist, NULL, NULL, "$Revision: 3
  * Added by Jto 11 Feb 1989
  *
  * m_connect
- *      parv[0] = sender prefix
  *      parv[1] = servername
  *      parv[2] = port number
  *      parv[3] = remote server
@@ -161,7 +160,6 @@ mo_connect(struct Client *client_p, struct Client *source_p, int parc, const cha
  * Added by Jto 11 Feb 1989
  *
  * m_connect
- *      parv[0] = sender prefix
  *      parv[1] = servername
  *      parv[2] = port number
  *      parv[3] = remote server
index be65ab66ca3fb8fcb665be939451858cec90f1b5..a0a1e072af0d1a6f0a0bffbed330c4af59b13ec2 100644 (file)
@@ -80,7 +80,6 @@ static const char *spoofed_sockhost = "0";
 
 /*
  * m_etrace
- *      parv[0] = sender prefix
  *      parv[1] = options [or target]
  *     parv[2] = [target]
  */
index ae5b90e9f1047c1758d7ffff47c0ee5409bc5646..f1f1d2eaeb66fb792e6733bee949c03ab1adf569 100644 (file)
@@ -57,7 +57,6 @@ DECLARE_MODULE_AV1(help, NULL, NULL, help_clist, NULL, NULL, "$Revision: 254 $")
 
 /*
  * m_help - HELP message handler
- *      parv[0] = sender prefix
  */
 static int
 m_help(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
@@ -69,7 +68,6 @@ m_help(struct Client *client_p, struct Client *source_p, int parc, const char *p
 
 /*
  * mo_help - HELP message handler
- *      parv[0] = sender prefix
  */
 static int
 mo_help(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
@@ -81,7 +79,6 @@ mo_help(struct Client *client_p, struct Client *source_p, int parc, const char *
 /*
  * mo_uhelp - HELP message handler
  * This is used so that opers can view the user help file without deopering
- *      parv[0] = sender prefix
  */
 static int
 mo_uhelp(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
index 2fba465b297fbf99ddc953a1fbd7d3f80db6c728..eaf920f07b58c52ed7a4e85912381724961e8c5c 100644 (file)
@@ -597,7 +597,6 @@ static struct InfoStruct info_table[] = {
 
 /*
 ** m_info
-**  parv[0] = sender prefix
 **  parv[1] = servername
 */
 static int
@@ -630,7 +629,6 @@ m_info(struct Client *client_p, struct Client *source_p, int parc, const char *p
 
 /*
 ** mo_info
-**  parv[0] = sender prefix
 **  parv[1] = servername
 */
 static int
index 04e04f061f9a5ba1bc6b8c6a808d3d18235955ff..91254adb4d48f043353a4ca04e8484fb2f6d0c43 100644 (file)
@@ -52,7 +52,6 @@ DECLARE_MODULE_AV1(invite, NULL, NULL, invite_clist, NULL, NULL, "$Revision: 343
 static void add_invite(struct Channel *, struct Client *);
 
 /* m_invite()
- *      parv[0] - sender prefix
  *      parv[1] - user to invite
  *      parv[2] - channel name
  */
index 958951d3a5c8ee3e721b32207fc8d36750a537a0..9c39e35b91c16c84d556a479fb64bc5b0d1d1609 100644 (file)
@@ -48,7 +48,6 @@ mapi_clist_av1 knock_clist[] = { &knock_msgtab, NULL };
 DECLARE_MODULE_AV1(knock, NULL, NULL, knock_clist, NULL, NULL, "$Revision: 3570 $");
 
 /* m_knock
- *    parv[0] = sender prefix
  *    parv[1] = channel
  *
  *  The KNOCK command has the following syntax:
index e4a0f881142b8bedd2f8b59992bcce4ec476cbfe..3aafbc7f294dd9f331a5b1a1fda7fd1e3f28ebae 100644 (file)
@@ -59,10 +59,8 @@ DECLARE_MODULE_AV1(links, NULL, NULL, links_clist, links_hlist, NULL, "$Revision
 
 /*
  * m_links - LINKS message handler
- *      parv[0] = sender prefix
  *      parv[1] = servername mask
  * or
- *      parv[0] = sender prefix
  *      parv[1] = server to query 
  *      parv[2] = servername mask
  */
index ab05e405f08d39e5ac3cd50f75745f35526f63dc..ba83d898fa763bf75af90f7d9b1f5f1af3ae74ae 100644 (file)
@@ -103,7 +103,6 @@ static void safelist_check_cliexit(hook_data_client_exit * hdata)
 }
 
 /* m_list()
- *      parv[0] = sender prefix
  *      parv[1] = channel
  *
  * XXX - With SAFELIST, do we really need to continue pacing?
@@ -138,7 +137,6 @@ static int m_list(struct Client *client_p, struct Client *source_p, int parc, co
 }
 
 /* mo_list()
- *      parv[0] = sender prefix
  *      parv[1] = channel
  */
 static int mo_list(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
index bf2e01447ed9648157b13abe7bc45f4d2178e776..4e6215768f277bf47182bba40f3eb2ce8d5921b8 100644 (file)
@@ -54,7 +54,6 @@ DECLARE_MODULE_AV1(locops, NULL, NULL, locops_clist, NULL, NULL, "$Revision: 254
 /*
  * m_locops - LOCOPS message handler
  * (write to *all* local opers currently online)
- *      parv[0] = sender prefix
  *      parv[1] = message text
  */
 static int
index 58dfdeedd61f9c0b93614b09cf562b279f5b9113..1a3bd355d6c9f367669e2216c9a9e6a584c63668 100644 (file)
@@ -49,7 +49,6 @@ DECLARE_MODULE_AV1(lusers, NULL, NULL, lusers_clist, NULL, NULL, "$Revision: 254
 
 /*
  * m_lusers - LUSERS message handler
- * parv[0] = sender
  * parv[1] = host/server mask.
  * parv[2] = server to query
  * 
@@ -85,7 +84,6 @@ m_lusers(struct Client *client_p, struct Client *source_p, int parc, const char
 
 /*
  * ms_lusers - LUSERS message handler for servers and opers
- * parv[0] = sender
  * parv[1] = host/server mask.
  * parv[2] = server to query
  * 
index 7c679fb30a3bbe50493abe5d66161b592eaa0b50..c2ab6be4ccd05379cfa4d8568e6de2da6d2928fe 100644 (file)
@@ -48,7 +48,6 @@ static void dump_map(struct Client *client_p, struct Client *root, char *pbuf);
 static char buf[BUFSIZE];
 
 /* m_map
-**     parv[0] = sender prefix
 */
 static int
 m_map(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
@@ -67,7 +66,6 @@ m_map(struct Client *client_p, struct Client *source_p, int parc, const char *pa
 
 /*
 ** mo_map
-**      parv[0] = sender prefix
 */
 static int
 mo_map(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
index 15742ff3f5117eadd77b3665ae08e142d30cdbc8..cb4b171389602640513f81acb43cde94c4aeb837 100644 (file)
@@ -59,7 +59,6 @@ static void motd_spy(struct Client *);
 
 /*
 ** m_motd
-**      parv[0] = sender prefix
 **      parv[1] = servername
 */
 static int
@@ -90,7 +89,6 @@ m_motd(struct Client *client_p, struct Client *source_p, int parc, const char *p
 
 /*
 ** mo_motd
-**      parv[0] = sender prefix
 **      parv[1] = servername
 */
 static int
index 76425fe740cda738d6b07f1b0e12ca5c57e2e776..d01baeb50969a982771328e6214fd8b5e0e95c2f 100644 (file)
@@ -57,7 +57,6 @@ static void names_global(struct Client *source_p);
 
 /*
  * m_names
- *      parv[0] = sender prefix
  *      parv[1] = channel
  */
 static int
index 1b0b7c928f9f998b2d0884d22829b79a72eac3a6..061a9b71e8a5419dafe461ed94e4da4703e16426 100644 (file)
@@ -55,7 +55,6 @@ static int match_oper_password(const char *password, struct oper_conf *oper_p);
 
 /*
  * m_oper
- *      parv[0] = sender prefix
  *      parv[1] = oper name
  *      parv[2] = oper password
  */
index b66de738fc7a9cd89248c99783abcf4ca9f9cf05..5f59f95f325fcd3b07dde35d9cf016868af61f3f 100644 (file)
@@ -52,7 +52,6 @@ DECLARE_MODULE_AV1(pass, NULL, NULL, pass_clist, NULL, NULL, "$Revision: 3550 $"
  *
  *
  * mr_pass - PASS message handler
- *      parv[0] = sender prefix
  *      parv[1] = password
  *      parv[2] = "TS" if this server supports TS.
  *      parv[3] = optional TS version field -- needed for TS6
index 6269c54ee931457c1b213fe14371df5f7aa2d2e4..bb5cadeeef9711d91ec51c3994c03bb3380e11b4 100644 (file)
@@ -50,7 +50,6 @@ DECLARE_MODULE_AV1(ping, NULL, NULL, ping_clist, NULL, NULL, "$Revision: 254 $")
 
 /*
 ** m_ping
-**      parv[0] = sender prefix
 **      parv[1] = origin
 **      parv[2] = destination
 */
index 50367e1d5f2807b7076f25905178347ea7fdd614..e67b133b8a2354be9aa30d16e060ccb5fdb2b866 100644 (file)
@@ -59,7 +59,6 @@ DECLARE_MODULE_AV1(post, NULL, NULL, post_clist, NULL, NULL, "$Revision: 498 $")
 
 /*
 ** mr_dumb_proxy
-**      parv[0] = sender prefix
 **      parv[1] = comment
 */
 static int
index 92e57309c3b3389347cb07d59f06b9bb45bca222..0c983694f962f83c5575559c01a877f55e32249b 100644 (file)
@@ -70,7 +70,6 @@ static int remove_resv_from_file(struct Client *source_p, const char *name);
 
 /*
  * mo_resv()
- *      parv[0] = sender prefix
  *      parv[1] = channel/nick to forbid
  *      parv[2] = reason
  */
@@ -140,7 +139,6 @@ mo_resv(struct Client *client_p, struct Client *source_p, int parc, const char *
 }
 
 /* ms_resv()
- *     parv[0] = sender prefix
  *     parv[1] = target server
  *     parv[2] = channel/nick to forbid
  *     parv[3] = reason
@@ -370,7 +368,6 @@ cluster_resv(struct Client *source_p, int temp_time, const char *name,
 
 /*
  * mo_unresv()
- *     parv[0] = sender prefix
  *     parv[1] = channel/nick to unforbid
  */
 static int
@@ -407,7 +404,6 @@ mo_unresv(struct Client *client_p, struct Client *source_p, int parc, const char
 }
 
 /* ms_unresv()
- *     parv[0] = sender prefix
  *     parv[1] = target server
  *     parv[2] = resv to remove
  */
index bb90d559d2d43e9be43765e7c67a0768cf52134a..7f4718761fc44215470e101c250c4d2246a61cd9 100644 (file)
@@ -79,7 +79,6 @@ static const char *spoofed_sockhost = "0";
 
 /*
  * m_scan
- *      parv[0] = sender prefix
  *      parv[1] = options [or target]
  *     parv[2] = [target]
  */
index ffc77cd5fa5ef074812717dbe6d576a7ca4cd3aa..c1536e3e20579509ef274cbf8ad726de687cd59e 100644 (file)
@@ -240,7 +240,6 @@ me_rsfnc(struct Client *client_p, struct Client *source_p,
 
 /*
 ** me_nickdelay
-**      parv[0] = sender prefix
 **      parv[1] = duration in seconds (0 to remove)
 **      parv[2] = nick
 */
index 2ab7f7b33b86902d4bd040907992532c9b438ced..74f51a71325f3d37c13f5f3908bef587d1987499 100644 (file)
@@ -62,7 +62,6 @@ DECLARE_MODULE_AV1(snote, NULL, NULL, snote_clist, NULL, NULL, "$Revision: 623 $
 
 /*
  * me_snote
- *      parv[0] = sender prefix
  *      parv[1] = snomask letter
  *     parv[2] = message
  */
index dd678a312206feaf2016e5ec11c58e29c88bc716..29e7c7ed75a81537b476ccdeb9188626491fb93e 100644 (file)
@@ -174,7 +174,6 @@ static struct StatsStruct stats_cmd_table[] = {
 
 /*
  * m_stats by fl_
- *      parv[0] = sender prefix
  *      parv[1] = stat letter/command
  *      parv[2] = (if present) server/mask in stats L, or target
  *
index 27ff52570ca951b5154a7479e773f440d96a1483..3ffb8f488e543fe82ac1b5ac1fe0d0520bc844ce 100644 (file)
@@ -48,7 +48,6 @@ DECLARE_MODULE_AV1(svinfo, NULL, NULL, svinfo_clist, NULL, NULL, "$Revision: 494
 
 /*
  * ms_svinfo - SVINFO message handler
- *      parv[0] = sender prefix
  *      parv[1] = TS_CURRENT for the server
  *      parv[2] = TS_MIN for the server
  *      parv[3] = unused, send 0
index d677fe49ee829a8f32587746c39f7192fcf130aa..81031ddc286245dc3208fb037a1b1b5a0aeaa19c 100644 (file)
@@ -60,7 +60,6 @@ static const char *weekdays[] = {
 
 /*
  * m_time
- *      parv[0] = sender prefix
  *      parv[1] = servername
  */
 static int
index a69a99e29d5b47271a1b7e5650cf24600ee94b99..d8ad5b9d6f19f4b0426115e2a705b04648674a8e 100644 (file)
@@ -53,7 +53,6 @@ DECLARE_MODULE_AV1(topic, NULL, NULL, topic_clist, NULL, NULL, "$Revision: 254 $
 
 /*
  * m_topic
- *      parv[0] = sender prefix
  *      parv[1] = channel name
  *     parv[2] = new topic, if setting topic
  */
@@ -166,7 +165,6 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char *
 
 /*
  * ms_topic
- *      parv[0] = sender prefix
  *      parv[1] = channel name
  *     parv[2] = topic_info
  *     parv[3] = topic_info time
index 2b9f70be825720f8362bb0a1a6103dd929dd368c..603922e6fe781111ccbbfae83cd898a30af5fa47 100644 (file)
@@ -67,7 +67,6 @@ static const char *empty_sockhost = "255.255.255.255";
 
 /*
  * m_trace
- *      parv[0] = sender prefix
  *      parv[1] = servername
  */
 static int
index da3937991cc414c0bd961dbef4cfa4af1cf96187..80b8b801d01664a9fa67c3d7a5e9027219ac07ee 100644 (file)
@@ -47,7 +47,6 @@ DECLARE_MODULE_AV1(users, NULL, NULL, users_clist, NULL, NULL, "$Revision: 254 $
 
 /*
  * m_users
- *      parv[0] = sender prefix
  *      parv[1] = servername
  */
 static int
index 05d8bdf09364a91a63e185180f46f5e65b209802..60d793c579fabc8407f1941dc32a57c1efeb273c 100644 (file)
@@ -51,7 +51,6 @@ DECLARE_MODULE_AV1(version, NULL, NULL, version_clist, NULL, NULL, "$Revision: 1
 
 /*
  * m_version - VERSION command handler
- *      parv[0] = sender prefix
  *      parv[1] = remote server
  */
 static int
@@ -87,7 +86,6 @@ m_version(struct Client *client_p, struct Client *source_p, int parc, const char
 
 /*
  * mo_version - VERSION command handler
- *      parv[0] = sender prefix
  *      parv[1] = remote server
  */
 static int
index 1a591abe6a967da75367fcc4ed11f6a81c18a565..d2c2b28de44efe79cfd6cb274fee52a1c11ec7b6 100644 (file)
@@ -78,7 +78,6 @@ mo_operwall(struct Client *client_p, struct Client *source_p, int parc, const ch
 /*
  * ms_operwall - OPERWALL message handler
  *  (write to *all* local opers currently online)
- *      parv[0] = sender prefix
  *      parv[1] = message text
  */
 static int
index 8dfcfbad80c4f493e4c650a37c1021fe27e13d8c..63fb2ed35f35ed221c1afb4c85b640c023030211 100644 (file)
@@ -84,7 +84,6 @@ static void do_who(struct Client *source_p,
 
 /*
 ** m_who
-**      parv[0] = sender prefix
 **      parv[1] = nickname mask list
 **      parv[2] = additional selection flag and format options
 */
index 085e4d64d00a73556310a07d88d20514fdb1408e..ca8dc23848522c87cc16d17c43771469f30de822 100644 (file)
@@ -69,7 +69,6 @@ DECLARE_MODULE_AV1(whois, NULL, NULL, whois_clist, whois_hlist, NULL, "$Revision
 
 /*
  * m_whois
- *      parv[0] = sender prefix
  *      parv[1] = nickname masklist
  */
 static int
@@ -115,7 +114,6 @@ m_whois(struct Client *client_p, struct Client *source_p, int parc, const char *
 
 /*
  * ms_whois
- *      parv[0] = sender prefix
  *      parv[1] = server to reply
  *      parv[2] = nickname to whois
  */
index 5ad67dfd3132642b29fd1c09aaa9b10c4fbf05fc..6007361aaf068f4d17667403bc91747636a18e74 100644 (file)
@@ -53,7 +53,6 @@ DECLARE_MODULE_AV1(whowas, NULL, NULL, whowas_clist, NULL, NULL, "$Revision: 171
 
 /*
 ** m_whowas
-**      parv[0] = sender prefix
 **      parv[1] = nickname queried
 */
 static int
index 5fe0585dc81908fc07dfa45cd05871f784d582e8..37d0c88f0fd93145bffbb8e885b2062188aa7aec 100644 (file)
@@ -50,7 +50,7 @@ struct Dictionary *alias_dict = NULL;
  */
 static char *sender;
 
-/* parv[0] == source, and parv[LAST] == NULL */
+/* parv[0] is not used, and parv[LAST] == NULL */
 static char *para[MAXPARA + 2];
 
 static void cancel_clients(struct Client *, struct Client *, char *);
@@ -104,7 +104,7 @@ string_to_array(char *string, char **parv)
                if(*buf == '\0')
                        return x;
        }
-       /* we can go upto parv[MAXPARA], as parv[0] is taken by source */
+       /* we can go upto parv[MAXPARA], as parv[0] is skipped */
        while (x < MAXPARA);
 
        if(*p == ':')
@@ -560,7 +560,6 @@ remove_unknown(struct Client *client_p, char *lsender, char *lbuffer)
 /*
  *
  *      parc    number of arguments ('sender' counted as one!)
- *      parv[0] pointer to 'sender' (may point to empty string) (not used)
  *      parv[1]..parv[parc-1]
  *              pointers to additional parameters, this is a NULL
  *              terminated list (parv[parc] == NULL).
index f9984f40c1828a3c67e5144301a6c7a1f3d479fd..7ba25c34a26d4b859e8737ac155d36a7e1bbce5e 100644 (file)
@@ -882,7 +882,6 @@ show_other_user_mode(struct Client *source_p, struct Client *target_p)
  * user_mode - set get current users mode
  *
  * m_umode() added 15/10/91 By Darren Reed.
- * parv[0] - sender
  * parv[1] - username to change mode for
  * parv[2] - modes to change
  */
index 0a3921f023acbfb37ceab5ca17576f7e236cd6fc..70c583dbc42f07542b2a9ccc86d0fab3469feab2 100644 (file)
@@ -49,7 +49,6 @@ DECLARE_MODULE_AV1(clearchan, NULL, NULL, clearchan_clist, NULL, NULL, "$Revisio
 
 /*
 ** mo_clearchan
-**      parv[0] = sender prefix
 **      parv[1] = channel
 */
 static int
index 146fa9c16105e65cb98bf17ace0168eba02f6d5a..4a621f46c95b3164667df87b4ee2abe882ff231b 100644 (file)
@@ -69,7 +69,6 @@ DECLARE_MODULE_AV1(force, NULL, NULL, force_clist, NULL, NULL, "$Revision: 3297
 
 /*
  * m_forcejoin
- *      parv[0] = sender prefix
  *      parv[1] = user to force
  *      parv[2] = channel to force them into
  */