diff options
| author | 2006-06-08 22:00:12 +0000 | |
|---|---|---|
| committer | 2006-06-08 22:00:12 +0000 | |
| commit | 075e89d6be2ceee526e0430f3fdd9ccc5ac8c284 (patch) | |
| tree | c80ebc9539594c741ede2009e6ccbc28df266a33 /src/helperfuncs.cpp | |
| parent | Fix for segfault if a user quits before their ident is complete, due to sessi... (diff) | |
Fix for mode string getting cut, breaks on some +L
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3994 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
| -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 bb148cccb..529092047 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -1309,7 +1309,7 @@ char* chanmodes(chanrec *chan, bool showkey) /* Null terminate scratch */ *offset = '\0'; - strlcat(scratch,sparam,MAXMODES); + strlcat(scratch,sparam,MAXBUF); return scratch; } |
