summary refs log tree commit diff stats
path: root/src/common/url.h
diff options
context:
space:
mode:
authorDiogo Sousa <diogogsousa@gmail.com>2013-06-18 12:01:39 +0100
committerDiogo Sousa <diogogsousa@gmail.com>2013-06-18 12:01:39 +0100
commit8ce8a359c18578870bcbabdb10feb5902b424105 (patch)
tree5455676653fbf73fca004192126285d647054a11 /src/common/url.h
parent55734baed84e7006e919dc02ac8d352020bfebc0 (diff)
Now url_check_word() returns WORD_HOST6 when a ipv6 address is matched.
Diffstat (limited to 'src/common/url.h')
-rw-r--r--src/common/url.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/url.h b/src/common/url.h
index 96d9f946..2085c73e 100644
--- a/src/common/url.h
+++ b/src/common/url.h
@@ -26,7 +26,8 @@ extern void *url_tree;
 #define WORD_NICK    2
 #define WORD_CHANNEL 3
 #define WORD_HOST    4
-#define WORD_EMAIL   5
+#define WORD_HOST6   5
+#define WORD_EMAIL   6
 /* anything >0 will be displayed as a link by gtk_xtext_motion_notify() */
 #define WORD_DIALOG  -1
 #define WORD_PATH    -2