]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/msg.h
Move cmode +N to cmode +d, so that extensions/m_roleplay can retain cmode +N and...
[irc/rqf/shadowircd.git] / include / msg.h
index 80058cdb9316b88d027b9acb49a2b1e7eb9bf09f..824e5f7da1a774555526d368928299f1d629c4c3 100644 (file)
@@ -21,7 +21,6 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: msg.h 6 2005-09-10 01:02:21Z nenolod $
  */
 
 #ifndef INCLUDED_msg_h
@@ -60,7 +59,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 +138,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.
  */