summaryrefslogtreecommitdiff
path: root/Libraries/LibCore
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibCore')
-rw-r--r--Libraries/LibCore/DesktopServices.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Libraries/LibCore/DesktopServices.cpp b/Libraries/LibCore/DesktopServices.cpp
index 5fb396593f..0f4d37ecd7 100644
--- a/Libraries/LibCore/DesktopServices.cpp
+++ b/Libraries/LibCore/DesktopServices.cpp
@@ -39,6 +39,9 @@ bool DesktopServices::open(const URL& url)
if (url.protocol() == "file")
return open_file_url(url);
+ if (url.protocol() == "irc")
+ return spawn("/bin/IRCClient", url.to_string());
+
return spawn("/bin/Browser", url.to_string());
}