diff options
author | Adam <Adam@anope.org> | 2010-06-26 21:12:31 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-06-26 21:12:31 -0400 |
commit | 36c646c7d2d4d0f057081c765f9048fc7ae751bf (patch) | |
tree | 9a5810343c197e6abd0048ebfa5e7b12b7d2b3e3 /src/process.cpp | |
parent | 4e31757f1467b36034e1dcef10d78533ff302d57 (diff) |
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.
Diffstat (limited to 'src/process.cpp')
-rw-r--r-- | src/process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.cpp b/src/process.cpp index 15e0cdad5..07f1ff451 100644 --- a/src/process.cpp +++ b/src/process.cpp @@ -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; |