summaryrefslogtreecommitdiff
path: root/src/users.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/users.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/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 18a356ef8..6b2432cc4 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -978,7 +978,7 @@ const char* User::GetIPString()
irc::sockets::satoap(client_sa, cachedip, port);
/* IP addresses starting with a : on irc are a Bad Thing (tm) */
if (cachedip.c_str()[0] == ':')
- cachedip.insert(0,1,'0');
+ cachedip.insert(cachedip.begin(),1,'0');
}
return cachedip.c_str();