diff options
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.cpp b/src/command.cpp index cb39ba926..f13be6ee5 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -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)); |