summaryrefslogtreecommitdiff
path: root/src/gui/models/worldlistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/models/worldlistmodel.h')
-rw-r--r--src/gui/models/worldlistmodel.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/models/worldlistmodel.h b/src/gui/models/worldlistmodel.h
index 9ae5a5e22..3be179c61 100644
--- a/src/gui/models/worldlistmodel.h
+++ b/src/gui/models/worldlistmodel.h
@@ -59,10 +59,7 @@ class WorldListModel final : public ListModel
return std::string(si->name).append(" (").append(
toString(si->online_users)).append(")");
}
- else
- {
- return "???";
- }
+ return "???";
}
private:
Worlds mWorlds;