summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 4475c169a..05f2d79c3 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -33,10 +33,10 @@ static time_t LAST = 0;
void InspIRCd::Log(int level, const char* text, ...)
{
va_list argsPtr;
- char textbuffer[MAXBUF];
+ char textbuffer[65536];
va_start(argsPtr, text);
- vsnprintf(textbuffer, MAXBUF, text, argsPtr);
+ vsnprintf(textbuffer, 65536, text, argsPtr);
va_end(argsPtr);
this->Log(level, std::string(textbuffer));