diff options
| author | 2006-03-09 09:31:37 +0000 | |
|---|---|---|
| committer | 2006-03-09 09:31:37 +0000 | |
| commit | 2e83826fd35c2b82caec575bc4e34e9437965354 (patch) | |
| tree | fd17c1250751d4754e91523a6ceb17ff1ed2f65b /src/helperfuncs.cpp | |
| parent | Fix buffer overflow (visible in /mode #channel) (diff) | |
mptr++ not *mptr++!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3578 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 fb5b88449..d2ec1f7d0 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -1792,7 +1792,7 @@ bool charremove(char* mp, char remove) if (shift_down) *mptr = *(mptr+1); - *mptr++; + mptr++; } return shift_down; |
