summaryrefslogtreecommitdiff
path: root/src/modules/m_ident.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-09-04 06:42:46 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-09-04 06:42:46 -0700
commitfb1e17c31cfb4af8f7512a0e6c7d7da81ae1be55 (patch)
tree125d21e05be9db15499ab6f7ad95586adaae74f5 /src/modules/m_ident.cpp
parentae23aefa3cde3caffc70a0c8058ebdc42326c59a (diff)
parent426752022ee4b5158b4cfc6c4531fff285029071 (diff)
Merge pull request #623 from ChrisTX/insp20+compilerfixes
Improve support for rarely used compilers, EKOPath in this case.
Diffstat (limited to 'src/modules/m_ident.cpp')
-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 6099e7c14..f0ced1db7 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -362,7 +362,7 @@ class ModuleIdent : public Module
/* wooo, got a result (it will be good, or bad) */
if (isock->result.empty())
{
- user->ident.insert(0, 1, '~');
+ user->ident.insert(user->ident.begin(), 1, '~');
user->WriteServ("NOTICE Auth :*** Could not find your ident, using %s instead.", user->ident.c_str());
}
else