Bump MAXPARA (maximum protocol message arguments) to 20 as per EPIC5
Needed to bump it to 16 anyway (the RFC says 15 plus the protocol command itself, so 16), but EPIC5 bumped it up to 20 based on a report from users of RusNet so we might as well go up to that as well.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
[Changes 1.2.2]
|
||||
|
||||
* Bump MAXPARA (maximum protocol message arguments) to 20 as per EPIC5. (caf)
|
||||
|
||||
* Correctly handle a last argument prefixed with : for any protocol message,
|
||||
for compatibility with inspircd. Reported by trn. (caf)
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ extern int doing_privmsg;
|
||||
#define WAIT_BANS 1
|
||||
#define WAIT_MODE 2
|
||||
|
||||
#define MAXPARA 15
|
||||
#define MAXPARA 20 /* RFC1459 says 15+1, but RusNet uses more */
|
||||
|
||||
|
||||
#endif /* PARSE_H_ */
|
||||
|
||||
Reference in New Issue
Block a user