diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-19 18:23:30 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-19 18:23:30 +0000 |
commit | 09f5312e127889f2ac674ebc85b801bc864fd2d1 (patch) | |
tree | 2d66e4d348bd4d198139ef5d78e8ead159277e29 /src | |
parent | b3ea96554e5334c27030c14b72ea1c69c253bde0 (diff) |
Fix crash i introduced into m_ident with a sloppy ->insert()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9766 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_ident.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index a9ea8c06e..e7d8728d6 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -369,7 +369,7 @@ class ModuleIdent : public Module * should be preceded by a ~. The field is actually IDENTMAX+2 characters wide. */ if (user->ident.length() > IDENTMAX + 1) user->ident.assign(user->ident, 0, IDENTMAX); - user->ident.insert('~', 0); + user->ident.insert(0, "~"); user->WriteServ("NOTICE Auth :*** Looking up your ident..."); |