X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/90187f2112c827d9b76f9bcc7c06e22810548237..a917e9baf322547871ac5e102d97005d95ec8eb5:/include/msg.h diff --git a/include/msg.h b/include/msg.h index 80058cd..1d04c0b 100644 --- a/include/msg.h +++ b/include/msg.h @@ -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. */