summaryrefslogtreecommitdiff
path: root/src/avatar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/avatar.cpp')
-rw-r--r--src/avatar.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/avatar.cpp b/src/avatar.cpp
index aa6618603..e3975a3d7 100644
--- a/src/avatar.cpp
+++ b/src/avatar.cpp
@@ -54,17 +54,13 @@ std::string Avatar::getComplexName() const
{
return mName;
}
- else
- {
- return std::string(mName).append("(").append(
- mOriginalName).append(")");
- }
+ return std::string(mName).append("(").append(
+ mOriginalName).append(")");
}
std::string Avatar::getAdditionString() const
{
if (!getIp().empty())
return " - " + getIp();
- else
- return "";
+ return "";
}