]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/msg.h
Branch Merge
[irc/rqf/shadowircd.git] / include / msg.h
index 80058cdb9316b88d027b9acb49a2b1e7eb9bf09f..1d04c0be1314fc9a502c90d8759f3270742f3959 100644 (file)
@@ -60,7 +60,7 @@ struct MessageEntry
 /* Message table structure */
 struct Message
 {
-       char *cmd;
+       const char *cmd;
        unsigned int count;     /* number of times command used */
        unsigned int rcount;    /* number of times command used by server */
        unsigned long bytes;    /* bytes received for this message */
@@ -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.
  */