diff options
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 2 |
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 |