1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-29 04:32:15 -05:00

Fixed irc:// and ircs:// url matching: irc://freenode was not working because

"freenode" doesn't match a hostname.
This commit is contained in:
Diogo Sousa 2013-06-16 19:11:26 +01:00
parent cb1975f450
commit 2870586cf9

View File

@ -420,8 +420,8 @@ struct
const char *path_sep; /* string that begins the path */ const char *path_sep; /* string that begins the path */
int flags; /* see above (flag macros) */ int flags; /* see above (flag macros) */
} uri[] = { } uri[] = {
{ "irc", "/", URI_AUTHORITY | URI_PATH }, { "irc", "/", URI_PATH },
{ "ircs", "/", URI_AUTHORITY | URI_PATH }, { "ircs", "/", URI_PATH },
{ "rtsp", "/", URI_AUTHORITY | URI_PATH }, { "rtsp", "/", URI_AUTHORITY | URI_PATH },
{ "feed", "/", URI_AUTHORITY | URI_PATH }, { "feed", "/", URI_AUTHORITY | URI_PATH },
{ "teamspeak", "?", URI_AUTHORITY | URI_PATH }, { "teamspeak", "?", URI_AUTHORITY | URI_PATH },