aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/mainmenu.lua')
-rw-r--r--builtin/mainmenu.lua10
1 files changed, 4 insertions, 6 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua
index 18e82f499..febf1984a 100644
--- a/builtin/mainmenu.lua
+++ b/builtin/mainmenu.lua
@@ -34,15 +34,13 @@ function menu.render_favorite(spec,render_details)
else
if spec.address ~= nil then
text = text .. spec.address:trim()
+
+ if spec.port ~= nil then
+ text = text .. ":" .. spec.port
+ end
end
end
- if spec.port ~= nil and
- spec.port ~= 30000 then
-
- text = text .. ":" .. spec.port
- end
-
if not render_details then
return text
end