From 50219a63add0c1aa8ff78b5c81dd579143284e61 Mon Sep 17 00:00:00 2001 From: TingPing Date: Tue, 2 Jul 2013 12:19:47 -0400 Subject: Fix opening empty channel when url has trailing slash --- src/common/outbound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 */ -- cgit 1.4.1