summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_ident.cpp2
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...");