summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-04-20 17:05:18 -0700
committerTingPing <tngpng@gmail.com>2013-04-20 17:05:18 -0700
commit4e891102f25515830686f7b43edc907c910611ca (patch)
tree4613f6f0344ccc6badc4c5c33538a8fa8e4f3792 /src/common
parentbc1c84347d54b438854daf83c3a9b73726716c43 (diff)
parente17a9c65037efaa80c3c743a901eb2642b24d0a1 (diff)
Merge pull request #550 from RichardHitt/issue440a
In do_an_re() put WORD_CHANNEL before WORD_HOST.  fixes #440
Diffstat (limited to 'src/common')
-rw-r--r--src/common/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/url.c b/src/common/url.c
index 0f88a35b..6c429ed8 100644
--- a/src/common/url.c
+++ b/src/common/url.c
@@ -316,8 +316,8 @@ do_an_re(const char *word,int *start, int *end, int *type)
 	{
 		{ re_email, WORD_EMAIL },
 		{ re_url, WORD_URL },
-		{ re_host, WORD_HOST },
 		{ re_channel, WORD_CHANNEL },
+		{ re_host, WORD_HOST },
 		{ re_path, WORD_PATH },
 		{ re_nick, WORD_NICK }
 	};