diff options
| author | 2006-06-08 22:00:25 +0000 | |
|---|---|---|
| committer | 2006-06-08 22:00:25 +0000 | |
| commit | 70184c9ba3aa41eb2565876b8fa01facdcf9af03 (patch) | |
| tree | 250bf92ed3a5f89e6d89de4d646619aebb3fb904 /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/trunk/inspircd@3995 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 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; } |
