summaryrefslogtreecommitdiff
path: root/src/process.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-06-26 21:12:31 -0400
committerAdam <Adam@anope.org>2010-06-26 21:12:31 -0400
commit36c646c7d2d4d0f057081c765f9048fc7ae751bf (patch)
tree9a5810343c197e6abd0048ebfa5e7b12b7d2b3e3 /src/process.cpp
parent4e31757f1467b36034e1dcef10d78533ff302d57 (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.cpp2
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;