summary refs log tree commit diff stats
path: root/src/common/outbound.c
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-07-02 12:19:47 -0400
committerTingPing <tngpng@gmail.com>2013-07-02 12:19:47 -0400
commit50219a63add0c1aa8ff78b5c81dd579143284e61 (patch)
treea9afcdd73a24fc40cc054f9d8872c3db9ca7f215 /src/common/outbound.c
parent806c75f051366d10161b1d85d4419000b8086f8a (diff)
Fix opening empty channel when url has trailing slash
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r--src/common/outbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index 3709ce96..6beaa2cc 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -3253,7 +3253,7 @@ urlserv:
 			co++;
 			if (*co == '#')
 				*channel = co+1;
-			else
+			else if (*co != '\0')
 				*channel = co;
 				
 			/* check for key - mirc style */