diff options
| author | 2009-01-23 13:20:57 +0000 | |
|---|---|---|
| committer | 2009-01-23 13:20:57 +0000 | |
| commit | a3fb932831ca09b2a931616f1701ea39429356c2 (patch) | |
| tree | 99fb547dcc6a6df1081891102ebb1494f6195b68 /src/helperfuncs.cpp | |
| parent | Remove an unused event. (diff) | |
| download | inspircd++-a3fb932831ca09b2a931616f1701ea39429356c2.tar.gz inspircd++-a3fb932831ca09b2a931616f1701ea39429356c2.tar.bz2 inspircd++-a3fb932831ca09b2a931616f1701ea39429356c2.zip | |
Fix m_nationalchars using a copy and paste of my unsafe copy and paste algorithm, that will lock up if the string to replace contains the string to search for.
Finally make this function a core utility function and remove the copies from 3 modules m_alias m_nationalchars and m_sqlauth
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10990 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
| -rw-r--r-- | src/helperfuncs.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 10659ae5f..f38b3e6b5 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -452,3 +452,6 @@ void InspIRCd::AddExtBanChar(char c) else tok.insert(ebpos + 9, 1, c); } + + + |
