From 70184c9ba3aa41eb2565876b8fa01facdcf9af03 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 8 Jun 2006 22:00:25 +0000 Subject: Fix for mode string getting cut, breaks on some +L git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3995 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/helperfuncs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3