summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorChrisTX <xpipe@hotmail.de>2013-08-31 01:17:07 +0200
committerChrisTX <xpipe@hotmail.de>2013-08-31 01:17:07 +0200
commit426752022ee4b5158b4cfc6c4531fff285029071 (patch)
treef5bcc0575d114582e17a5f44200cd0425f41d4f0 /src/users.cpp
parent5661a9eddbb86f22e40b70bef64581e590ed34c6 (diff)
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();