summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r--src/gui/windows/whoisonline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index 61e2bc21a..86f5cd2fb 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -877,7 +877,7 @@ void OnlinePlayer::setText(std::string color)
#ifdef TMWA_SUPPORT
if (mGroup != -1 && GroupDb::getShowBadge(mGroup))
{
- const std::string name = GroupDb::getName(mGroup);
+ const std::string &name = GroupDb::getName(mGroup);
mText.append(strprintf("(%s) ", name.c_str()));
}
else