summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-08 22:00:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-08 22:00:25 +0000
commit70184c9ba3aa41eb2565876b8fa01facdcf9af03 (patch)
tree250bf92ed3a5f89e6d89de4d646619aebb3fb904
parent5137a26a6f1f06efc060217617d36318d8ac6c59 (diff)
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
-rw-r--r--src/helperfuncs.cpp2
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;
}