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

Bug #1283 - Upped the buffer used for messge replies, as some can be really big

This commit is contained in:
Adam
2011-07-10 19:32:10 -04:00
parent b5ec57a3f9
commit 924f6849fe
+2 -2
View File
@@ -11,12 +11,12 @@
void CommandSource::Reply(const char *message, ...)
{
va_list args;
char buf[BUFSIZE] = "";
char buf[4096]; // Messages can be really big.
if (message)
{
va_start(args, message);
vsnprintf(buf, BUFSIZE - 1, message, args);
vsnprintf(buf, sizeof(buf), message, args);
this->Reply(Anope::string(buf));