Commit Diff


commit - 3ee98d9f72449c88861744aebdd0a2e570bc3bc5
commit + 58abd0777b0924e5cb8fa6c01b56305d9b175608
blob - 977bc74ed43e4416a4d3aa02161e64da0d996155
blob + b387493c6ab3ca0643a2322e99a26dab23688051
--- src/ngircd/defines.h
+++ src/ngircd/defines.h
@@ -108,7 +108,7 @@
 #define CLIENT_HOST_LEN 64
 
 /** Max. length of all client modes (including NULL). */
-#define CLIENT_MODE_LEN 16
+#define CLIENT_MODE_LEN 21
 
 /** Max. length of server info texts (including NULL). */
 #define CLIENT_INFO_LEN 64
@@ -123,7 +123,7 @@
 #define CHANNEL_NAME_LEN 51
 
 /** Max. length of channel modes (including NULL). */
-#define CHANNEL_MODE_LEN 9
+#define CHANNEL_MODE_LEN 21
 
 /** Max. IRC command length (including NULL), see. RFC 2812 section 3.2. */
 #define COMMAND_LEN 513