diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/helperfuncs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index c4cb5d744..a60d83459 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -1293,7 +1293,7 @@ char* chanmodes(chanrec *chan, bool showkey) /* Null terminate scratch */ *offset = '\0'; - strlcat(scratch,sparam,MAXMODES); + strlcat(scratch,sparam,MAXBUF); return scratch; } |