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(); }