/
/
/
102
irc: Define a max msg size
jcs made amendment
102
2 months ago
---
irc.h Thu Sep 12 08:34:13 2024
+++
irc.h Fri Sep 13 17:30:04 2024
@@ -29,12 +29,13 @@ enum {
};
#define IRC_MSG_MAX_ARGS 7
+#define IRC_MAX_MSG_SIZE 512
struct irc_msg {
short code;
char cmd[16];
char source[80];
- char msg[512];
+ char msg[IRC_MAX_MSG_SIZE];
char arg[IRC_MSG_MAX_ARGS][64];
};