aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
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 f98f088fa..e6dcb7cd5 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -117,7 +117,7 @@ const std::string& User::GetAddress()
// need to partially expand the address to avoid issues with
// the IRC wire format.
if (cached_address[0] == ':')
- cached_address.insert(cached_address.begin(), 1, 0);
+ cached_address.insert(cached_address.begin(), 1, '0');
cached_address.shrink_to_fit();
}