aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-04-29 11:51:52 +0100
committerGravatar Sadie Powell2023-04-29 11:51:52 +0100
commitc7da7c67c6d297622b1125c3e4fa0c412e7b5ff7 (patch)
tree6356c55993f258fc219739aba2faaf06204067ee /src/users.cpp
parentFix binding to IPv6 endpoints on Windows. (diff)
Fix a copy/paste error in GetUserAddress.
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 7d63659ea..f98f088fa 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -130,7 +130,7 @@ const std::string& User::GetUserAddress()
if (cached_useraddress.empty())
{
cached_useraddress = INSP_FORMAT("{}@{}", ident, GetAddress());
- cached_address.shrink_to_fit();
+ cached_useraddress.shrink_to_fit();
}
return cached_useraddress;