summary refs log tree commit diff stats
path: root/src/common/url.c
diff options
context:
space:
mode:
authorDiogo Sousa <diogogsousa@gmail.com>2013-06-16 19:11:26 +0100
committerDiogo Sousa <diogogsousa@gmail.com>2013-06-16 19:11:26 +0100
commit2870586cf9c241877dc49890f26a8496d13d25e4 (patch)
tree679ad716753d6be3ae162b2bfa186d314e06f720 /src/common/url.c
parentcb1975f45097020ebd572439266c3e1123d188fa (diff)
Fixed irc:// and ircs:// url matching: irc://freenode was not working because
"freenode" doesn't match a hostname.
Diffstat (limited to 'src/common/url.c')
-rw-r--r--src/common/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/url.c b/src/common/url.c
index 2fda8f6b..ef6e3fdb 100644
--- a/src/common/url.c
+++ b/src/common/url.c
@@ -420,8 +420,8 @@ struct
 	const char *path_sep;  /* string that begins the path */
 	int flags;             /* see above (flag macros) */
 } uri[] = {
-	{ "irc",       "/", URI_AUTHORITY | URI_PATH },
-	{ "ircs",      "/", URI_AUTHORITY | URI_PATH },
+	{ "irc",       "/", URI_PATH },
+	{ "ircs",      "/", URI_PATH },
 	{ "rtsp",      "/", URI_AUTHORITY | URI_PATH },
 	{ "feed",      "/", URI_AUTHORITY | URI_PATH },
 	{ "teamspeak", "?", URI_AUTHORITY | URI_PATH },