1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 21:36:38 +02:00

Added support for InspIRCd 2.0s dynamic modes.

Note that this changes the maximum length of an acceptable
IRC message from 512 to 1024 because InspIRCd sends messages
longer than 512 characters.
This commit is contained in:
Adam
2010-06-26 21:12:31 -04:00
parent 4e31757f14
commit 36c646c7d2
8 changed files with 246 additions and 280 deletions
+1 -1
View File
@@ -304,7 +304,7 @@ void process(const std::string &buffer)
int retVal = 0;
char source[64] = "";
char cmd[64] = "";
char buf[512] = ""; /* Longest legal IRC command line */
char buf[1024] = ""; // XXX InspIRCd 2.0 can send messages longer than 512 characters to servers... how disappointing.
char *s;
int ac; /* Parameters for the command */
const char **av;