aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.c2
-rw-r--r--doc/foot.ini.5.scd2
2 files changed, 3 insertions, 1 deletions
diff --git a/config.c b/config.c
index 53456160..ae215334 100644
--- a/config.c
+++ b/config.c
@@ -2845,6 +2845,8 @@ config_load(struct config *conf, const char *conf_path,
L"file://",
L"gemini://",
L"gopher://",
+ L"irc://",
+ L"ircs://",
};
conf->url.protocols = xmalloc(
ALEN(url_protocols) * sizeof(conf->url.protocols[0]));
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index e1922634..9bdd668a 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -393,7 +393,7 @@ in this order:
recognized in URL mode. Note that only auto-detected URLs are
affected by this option. OSC-8 URLs are always enabled, regardless
of protocol. Default: _http, https, ftp, ftps, file, gemini,
- gopher_.
+ gopher, irc, ircs_.
*uri-characters*
Set of characters allowed in auto-detected URLs. Any character not