summaryrefslogtreecommitdiff
path: root/src/gui/windows/serverinfowindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/serverinfowindow.cpp')
-rw-r--r--src/gui/windows/serverinfowindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/serverinfowindow.cpp b/src/gui/windows/serverinfowindow.cpp
index f571d29e1..51af4db5c 100644
--- a/src/gui/windows/serverinfowindow.cpp
+++ b/src/gui/windows/serverinfowindow.cpp
@@ -87,8 +87,8 @@ ServerInfoWindow::~ServerInfoWindow()
void ServerInfoWindow::handleLink(const std::string &link,
MouseEvent *const event A_UNUSED)
{
- if (strStartWith(link, "http://") ||
- strStartWith(link, "https://"))
+ if (strStartWith(link, "http://") || strStartWith(link, "https://") ||
+ strStartWith(link, "ftp://"))
{
openBrowser(link);
}